Accusoft.PdfXpress5.Net
SaveToHandle Method
See Also  Send Feedback
Accusoft.PdfXpressSdk Namespace > Document Class : SaveToHandle Method




options
Configures the save operation.

Glossary Item Box

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

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

©2012. Accusoft Corporation. All Rights Reserved.