Click or drag to resize

PdfWebControlRenderOnDemand Property

Gets or sets a value indicating whether the server should render PDF pages as they are needed by PdfWebControl instances.

Namespace:  RadPdf.Web.UI
Assembly:  RadPdf (in RadPdf.dll) Version: (
public bool RenderOnDemand { get; set; }

Property Value

Type: Boolean
If true the server should render PDF pages on demand; otherwise, if false the server will render all pages upfront in order. The default value is true.

To have an effect, this property must be set before CreateDocument(String, Byte) is called.

This property will be ignored if AllowFindMatchingPdf is true and the PDF referenced by CreateDocument(String, Byte) was previously loaded. (The value of this property when the PDF was originally loaded by CreateDocument(String, Byte) will instead be used)

RAD PDF prior to version 2.22 did not support this feature. All documents created with version 2.21 and earlier will behave as if this property is false.

See Also