How to get screen coordinates of displayed views in SmartClient to support screen capture as image?

As part of a SmartClient plugin, I need to capture a picture of the displayed map within a map view based on a Toolbar item being activated. I am currently trying to do this by capturing the screen area associated with the map window which requires the screen coordinates of the map display. I can find the coordinates of the SmartClient application window and the coordinates of the areas within the view (0-1000) but cannot find a way to get the screen coordinates of the map view. Can you tell me how to get these coordinates or an alternative way of capturing the map view as an image?

Thanks

There is a method to get the Smart Cleint application window as you mention, and there are properties on the ImageViewerControl to get PaintLocation and PaintSize for it. There is no method to get the information on a view or view item.

I will make a request to Milestone Product Management to request that something like this gets developed in some future version..

Bo,

Thanks very much.

John Moody, Ph.D.
VP Systems Engineering
DataGarden, Inc.
(304) 692-9991

Confidentiality Notice – This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure, and/or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email, and destroy/delete all copies of the original message. Thank you.