Click or drag to resize

PdfWebControlConvertMeaninglessCollections Property

Gets or sets a value indicating whether a PdfWebControl instance should convert meaningless PDF collections (where the base PDF is asking for a reader "upgrade") to a single PDF (with pages appended) automatically if used with CreateDocument(String, Byte).

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

Property Value

Type: Boolean
If true collections detected to be meaningless (e.g. simply asking for a reader "upgrade") to PDF and loaded as a new document; otherwise false. The default is true.

A PDF collection is considered meaningless if the root document contains a single page which contains a single link to a reader "upgrade" web site and contains a single embedded file.

PDF collections are also sometimes called portfolios or containers.

To have an effect, this property must be set before CreateDocument(String, Byte) is called. RAD PDF will only match PDF files loaded the same DPI (RenderDpi).

See Also