Accusoft.PdfXpress7.Net
CopyPageTo Method




The destination object.
An integer value which represents the page to render.
A RenderOptions object which contains information about how to render the page.
Designed to make passing image data between different Accusoft components easier, this method makes a copy of the page's image data (rendering) and gives the new image data to another object which can be defined in a different Accusoft assembly. When finished, both this object and the destination object will contain separate copies of the same image data.
Syntax
'Declaration
 
Public Sub CopyPageTo( _
   ByVal Destination As Object, _
   ByVal pageNumber As Integer, _
   ByVal options As RenderOptions _
) 
'Usage
 
Dim instance As Document
Dim Destination As Object
Dim pageNumber As Integer
Dim options As RenderOptions
 
instance.CopyPageTo(Destination, pageNumber, options)
public void CopyPageTo( 
   object Destination,
   int pageNumber,
   RenderOptions options
)
public: void CopyPageTo( 
   Object* Destination,
   int pageNumber,
   RenderOptions* options
) 
public:
void CopyPageTo( 
   Object^ Destination,
   int pageNumber,
   RenderOptions^ options
) 

Parameters

Destination
The destination object.
pageNumber
An integer value which represents the page to render.
options
A RenderOptions object which contains information about how to render the page.
Exceptions
ExceptionDescription
System.ArgumentExceptionThrown when the destination object does not support being copied to.
Remarks
Not all object types are valid destinations for this method. Refer to the documentation of a particular class to see if it officially supports being the destination of the CopyPageTo method.
See Also

Reference

Document Class
Document Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback