ImageGear .NET v25.0 - Updated
DrawToBitmapImage(IImGearScrollableView,BitmapImage,ImGearRenderSettings) Method




ImageGear.Presentation Assembly > ImageGear.Display Namespace > ImGearPresentationPageDisplay Class > DrawToBitmapImage Method : DrawToBitmapImage(IImGearScrollableView,BitmapImage,ImGearRenderSettings) Method
A Scrollable View object that defines image position.
BitmapImage object to draw image in.
Speifies rendering settings, such as resolution of the output device.
Draws an image in a BitmapImage object.
Syntax
'Declaration
 
Public Overloads Sub DrawToBitmapImage( _
   ByVal pageView As IImGearScrollableView, _
   ByVal bitmapImage As BitmapImage, _
   ByVal settings As ImGearRenderSettings _
) 
'Usage
 
Dim instance As ImGearPresentationPageDisplay
Dim pageView As IImGearScrollableView
Dim bitmapImage As BitmapImage
Dim settings As ImGearRenderSettings
 
instance.DrawToBitmapImage(pageView, bitmapImage, settings)
public void DrawToBitmapImage( 
   IImGearScrollableView pageView,
   BitmapImage bitmapImage,
   ImGearRenderSettings settings
)
public: void DrawToBitmapImage( 
   IImGearScrollableView* pageView,
   BitmapImage* bitmapImage,
   ImGearRenderSettings* settings
) 
public:
void DrawToBitmapImage( 
   IImGearScrollableView^ pageView,
   BitmapImage^ bitmapImage,
   ImGearRenderSettings^ settings
) 

Parameters

pageView
A Scrollable View object that defines image position.
bitmapImage
BitmapImage object to draw image in.
settings
Speifies rendering settings, such as resolution of the output device.
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,ImGearRenderSettings) method to display an image taking into account layout settings, or to draw the image with annotations.
See Also

Reference

ImGearPresentationPageDisplay Class
ImGearPresentationPageDisplay Members
Overload List
IImGearScrollableView Interface
ImGearRenderSettings Class