ImageGear for .NET
DrawToBitmapImage(IImGearScrollableView,BitmapImage) Method
See Also  Send Feedback
ImageGear21.Presentation Assembly > ImageGear.Display Namespace > ImGearPresentationPageDisplay Class > DrawToBitmapImage Method : DrawToBitmapImage(IImGearScrollableView,BitmapImage) Method




pageView
A Scrollable View object that defines image position.
bitmapImage
BitmapImage object to draw image in.

Glossary Item Box

Draws an image in a BitmapImage object.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

pageView
A Scrollable View object that defines image position.
bitmapImage
BitmapImage object to draw image in.

Remarks

This BitmapImage can then be used with various Source properties for certain UIElements. The method does not take into account display layout settings, such as orientation or alignment. The method does not draw annotations that are attached to the PageDisplay object. Use DrawToCanvas(IImGearScrollableView,Canvas) method to display an image taking into account layout settings, or to draw the image with annotations. Dimensions of result bitmap (in pixels) are equal to dimensions of pageView (in WPF device independent units, 1/96th of an inch). This provides exact rendering of images when display uses the standard resolution of 96 DPI. If display resolution is different, or if the image is rendered for printing, use DrawToCanvas(IImGearScrollableView,Canvas,ImGearRenderSettings)

See Also

©2013. Accusoft Corporation. All Rights Reserved.