Click or drag to resize

PdfLiteStorageAdapterGetDocumentAsPdf Method (String)

Retrieve a document previously loaded into a PdfWebControlLite instance with all saved modifications, as a PDF.

Namespace:  RadPdf.Lite
Assembly:  RadPdf (in RadPdf.dll) Version: 3.44.0.0 (3.44.0.0)
Syntax
public byte[] GetDocumentAsPdf(
	string documentKey
)

Parameters

documentKey
Type: SystemString
DocumentKey as a string.

Return Value

Type: Byte
The document in PDF format for the documentKey parameter.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe current instance has already been disposed.
RadPdfDocumentKeyNotFoundExceptionThe document session was not found.
Remarks

If document is not found or inaccessible, an exception will be thrown.

See Also