Renders a page into a bitmap.

 

   

Syntax
 

[C#]
System.Drawing.Bitmap GetBitmap()

[Visual Basic]
Function GetData(name As String) As Byte()

Throws Exceptions may throw Exception()

 

   

Params
 
Name Description
return The Bitmap containing the image.

 

   

Notes
 

Renders a page into a Bitmap. The current page at the time the operation has been created is rendered.

This method is similar in functionality to XRendering.GetBitmap(), but it can be safely called on different instances of RenderOperation from different threads even for the same page of the same document provided the page is not modified while being rendered because the document rendering options and current page are saved when the operation is created.

 

   

Example
 

See the Save method.