Click or drag to resize

PdfStorageAdapterGetDocumentAsPdf Method (Int32)

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

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: 3.43.0.0 (3.43.0.0)
Syntax
public byte[] GetDocumentAsPdf(
	int documentID
)

Parameters

documentID
Type: SystemInt32
DocumentID as an int.

Return Value

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

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

See Also