Click or drag to resize

PdfWebControlDocumentLoaded Property

Gets a value indicating whether a document is loaded and ready for use in this PdfWebControl instance.

Namespace:  RadPdf.Web.UI
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax
public bool DocumentLoaded { get; }

Property Value

Type: Boolean
true if this document is loaded and ready for use; otherwise false.
Remarks

If this property is false, some properties and methods of PdfWebControl may throw an exception. For example, DocumentProperties should only be retrieved if this property is true.

If this property is true, some properties and methods of PdfWebControl may not have any effect until a new document is loaded. For example, DocumentKeyMaxAge, ThrowPasswordException, RenderUnsupportedPdfFeatures and AllowFindMatchingPdf will not have any effect until a new document is created, loaded, or copied.

Even this property is true, some properties and methods of PdfWebControl may also require DocumentPasswordPending to be false. For example EditDocument, should only be used if this property is true and DocumentPasswordPending is false.

See Also