Saves a PDF Document into a new global memory buffer, accessed using a global handle.
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.
| Exception | Description |
|---|---|
| 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. |
| PdfXpressLicensingException | Thrown if this feature is unavailable for the current license edition.
|
| PdfXpressException | This exception occurs in the main PDF library. |
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.