Support Center

Get zoomed view as bitmap

Mike Klein Nov 08, 2012 08:58AM EST

is it possible to get the actual view(zoomed) from the DTI.ImageMan.Winforms.Viewer as Bitmap?
or dircet print the actual view?
only the part is visible in the viewer, not the hole image?

Regards,
Mike

1 Data Techniques Response

Up -1 Rated Down
DTI Support  Data Techniques Employee Nov 08, 2012 09:06AM EST

Hello Mike,

You can use the ScrollableOrigin and ScrollableRegion values to figure out the portion of the image thats being displayed in the viewer. To get a bitmap you could then use the CropCommand class to get a bitmap that represents that portion of the image.

You could then use that image to print.

Let me know if you have any questions,
John
Data Techniques Support

This question is closed to new answers.

Contact Us