Click or drag to resize

PdfWebControlGetOriginalPdf Method

Retrieves the previously loaded PDF document with no modifications, as a PDF.

Namespace:  RadPdf.Web.UI
Assembly:  RadPdf (in RadPdf.dll) Version: 3.44.0.0 (3.44.0.0)
Syntax
public byte[] GetOriginalPdf()

Return Value

Type: Byte
Previously loaded PDF document with no modifications, as a byte array.
Remarks

Executing this method requires a call to the product database. It is recommend that its output be cached, when possible, for best performance.

DocumentLoaded must be true and DocumentPasswordPending must be false to call this method.

The original document is a copy of the PDF as loaded internally by a PdfWebControl instance. For example, password protected documents which were loaded will not be encrypted when retrieved with this method.

See Also