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: 3.20.0.0 (3.20.0.0)
Syntax
public TimeSpan DocumentKeyMaxAge { get; set; }

Property Value

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

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