PdfLiteStorageAdapterGetDocumentOriginalAsPdf Method (PdfLiteSession) |
Retrieve a document previously loaded into a
PdfWebControl instance with no modifications, as a PDF.
Namespace:
RadPdf.Lite
Assembly:
RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax public byte[] GetDocumentOriginalAsPdf(
PdfLiteSession session
)
Public Function GetDocumentOriginalAsPdf (
session As PdfLiteSession
) As Byte()
Parameters
- session
- Type: RadPdf.LitePdfLiteSession
PdfLiteSession of a Lite Document.
Return Value
Type:
Byte
The document before any changes in PDF format associated with the
session.
Remarks
The original document is a copy of the PDF as loaded internally by a
PdfWebControlLite instance.
For example, password protected documents which were loaded will not be encrypted when retrieved with this method.
PDF documents which still require a password to be opened (
DocumentPasswordPending is
true) will not be retrieved.
See Also