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




pageView
A Scrollable View object that defines image position.
canvas
Canvas object to draw the image in.

Glossary Item Box

Draws an image in a Canvas.

Syntax

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

Parameters

pageView
A Scrollable View object that defines image position.
canvas
Canvas object to draw the image in.

Remarks

An Image element is created and positioned within the canvas based on the pageView parameter. Dimensions of a bitmap in the result Image element (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.