Click or drag to resize

DocumentUploadingEventArgsThrowMaxPagesException Property

Gets or sets a value indicating whether a RadPdfPdfProcessingMaxPagesException should be thrown when uploading a PDF containing more pages than allowed by MaxPdfPages.

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: 3.44.0.0 (3.44.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.

See Also