Cuminas DjVu SDK for .NET Framework
Draw(Void,Int32,Rectangle,Size,RenderingMode,RenderingOptions) Method



Pointer to the buffer to draw the page image on.
Image stride. Bytes-per-line on the buffer, including the paddings on the line end.
Area on the page image to draw.
Whole page image size, by which the area is defined.
One of RenderingMode Enumeration values to specify layes to render.
Any combinations of RenderingOptions Enumeration values to specify renderer behavior.
Renders image of the specified page portion on the specified buffer.
Syntax
Public Overloads Sub Draw( _
   ByVal buffer As Void, _
   ByVal stride As Integer, _
   ByVal rect As Rectangle, _
   ByVal imageSize As Size, _
   ByVal renderingMode As RenderingMode, _
   ByVal options As RenderingOptions _
) 
Dim instance As Page
Dim buffer As Void
Dim stride As Integer
Dim rect As Rectangle
Dim imageSize As Size
Dim renderingMode As RenderingMode
Dim options As RenderingOptions
 
instance.Draw(buffer, stride, rect, imageSize, renderingMode, options)

Parameters

buffer
Pointer to the buffer to draw the page image on.
stride
Image stride. Bytes-per-line on the buffer, including the paddings on the line end.
rect
Area on the page image to draw.
imageSize
Whole page image size, by which the area is defined.
renderingMode
One of RenderingMode Enumeration values to specify layes to render.
options
Any combinations of RenderingOptions Enumeration values to specify renderer behavior.
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

Page Class
Page Members
Overload List
RenderImage Method

Send Feedback