DocumentAppendingEventArgsMaxPdfPages Property |
Namespace: RadPdf.Integration
Exception | Condition |
---|---|
ArgumentOutOfRangeException | MaxPdfPages can not be less than 0. |
Setting this property to NoMaxPdfPages (default) will allow a PDF with any number of pages to be the result after DataToAppend is appended.
If ThrowMaxPagesException is true and the document contains more than MaxPdfPages, an exception will be thrown.
If ThrowMaxPagesException is false and the document contains more than MaxPdfPages, the document will be truncated and all pages in excess of MaxPdfPages will be deleted.
This property has no effect unless AppendType is Data.