Click or drag to resize

PdfWebControlDocumentKeyMaxAge Property

Gets or sets a value indicating the maximum age which a document key is valid before it expires

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

Property Value

Type: TimeSpan
Timespan structure representing the length of time from now which a key will be valid

This property should be set prior to CreateDocument(String, Byte), LoadDocument(Int32), or CopyDocument(Int32, Boolean) (or their overloads) being called. The default value is 1 day.

If this property is set to Zero (or a negative value), no document key will be generated. This means that DocumentKey will be Empty and this PdfWebControl instance will not render the document.

See Also