Renders a page into an array of bytes.

 

   

Syntax
 

[C#]
byte[] GetData(string name)

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

Throws Exceptions may throw Exception()

 

   

Params
 
Name Description
name A dummy file name used to determine the type of image required.
return The image as an array of bytes.

 

   

Notes
 

Renders a page into an array of bytes.

The page and rendering options which will be used are those which were current at the time the RenderOperation was created.

This method is similar in functionality to XRendering.GetBitmap but allows safe muti-threaded use.

For details see the Save method.

 

   

Example
 

See the Save method.