Click or drag to resize

DocumentAppendingEventArgsThrowMaxPagesException Property

Gets or sets a value indicating whether a RadPdfPdfProcessingMaxPagesException should be thrown when appending DataToAppend will result in a PDF containing more pages than allowed by MaxPdfPages.

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax
public bool ThrowMaxPagesException { get; set; }

Property Value

Type: Boolean
true if a RadPdfPdfProcessingMaxPagesException should be thrown if the resulting PDF (after being appended to) would contain more pages than allowed by MaxPdfPages; otherwise false to truncate resulting PDF documents longer than MaxPdfPages and all pages after MaxPdfPages will be deleted. The default is true.
Remarks

If MaxPdfPages is 0, this property has no effect.

This property has no effect unless AppendType is Data.

See Also