Renders a page into an array of bytes.




byte[] GetData(string name)

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

Throws Exceptions may throw Exception()



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




Renders a page into an array of bytes. The current page at the time the operation has been created is rendered.

This method is similar in functionality to XRendering.GetData(), 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.




See the Save method.