Accusoft.PdfXpress7.Net
SaveToHandle Method




Configures the save operation.

Saves a PDF Document into a new global memory buffer, accessed using a global handle.

Syntax
'Declaration
 
Public Function SaveToHandle( _
   ByVal options As SaveOptions _
) As IntPtr
'Usage
 
Dim instance As Document
Dim options As SaveOptions
Dim value As IntPtr
 
value = instance.SaveToHandle(options)
public IntPtr SaveToHandle( 
   SaveOptions options
)
public: IntPtr SaveToHandle( 
   SaveOptions* options
) 
public:
IntPtr SaveToHandle( 
   SaveOptions^ options
) 

Parameters

options
Configures the save operation.

Return Value

The handle to the global memory buffer containing the saved PDF Document.

Exceptions
ExceptionDescription
System.ArgumentException The exception that is thrown when a null reference is passed to a method that does not accept it as a valid argument.
PdfXpressLibraryException This exception occurs in the underlying PDF library.
PdfXpressLicensingExceptionThrown if this feature is unavailable for the current license edition.
PdfXpressException This exception occurs in the main PDF library.
Remarks

The Document must contain at least one page to successfully save.

The caller is responsible for releasing global handle using the Windows function GlobalFree( globalHandle ) to avoid a resource leak.

See Also

Reference

Document Class
Document Members
Licensing Property

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback