 |
PdfDocumentSave Method |
Saves the pdf document as byte array.
Namespace: SelectPdfAssembly: Select.Pdf (in Select.Pdf.dll) Version: 26.4
SyntaxPublic Function Save As Byte()
Return Value
ByteThe byte array representation of the document.
Remarks
The byte array can be further saved to a file or sent over HTTP as a response to the browser.
Use this overload when the same document is needed in more than one place: save once and write the returned bytes to every destination.
A pdf document can only be saved once - a second call throws a PdfDocumentException. To produce more than one output, save once and reuse the result.
See Also