Accusoft.PdfXpress7.Net
SaveToBuffer Method




Configures the save operation.

Saves a PDF Document into a new local memory buffer.

Syntax
'Declaration
 
Public Function SaveToBuffer( _
   ByVal options As SaveOptions _
) As Byte()
'Usage
 
Dim instance As Document
Dim options As SaveOptions
Dim value() As Byte
 
value = instance.SaveToBuffer(options)
public byte[] SaveToBuffer( 
   SaveOptions options
)
public: byte[]* SaveToBuffer( 
   SaveOptions* options
) 
public:
array<byte>^ SaveToBuffer( 
   SaveOptions^ options
) 

Parameters

options
Configures the save operation.

Return Value

The local memory buffer containing the saved PDF Document.

Exceptions
ExceptionDescription
System.ArgumentNullException 
PdfXpressLibraryExceptionThis exception occurs in the underlying PDF library.
PdfXpressLicensingExceptionThrown if this feature is unavailable for the current license edition.
PdfXpressExceptionThis exception occurs in the main PDF library.
Remarks

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

See Also

Reference

Document Class
Document Members
Licensing Property

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback