Click or drag to resize

PdfPortfolio Properties

The PdfPortfolio type exposes the following members.

Properties
 NameDescription
Public propertyColors(Optional; PDF 2.0) A PdfPortfolioColors specifying a suggested set of colors for use by a PdfPortfolio layout.
Public propertyFields Gets the Portfolio fields. If empty, the conforming reader may choose useful defaults that are known to exist in a PdfFileSpecification, such as the file name, file size, and modified date.
Public propertyFiles Gets the root EmbeddedFiles contained in the PdfPortfolio.
Public propertyFolders Gets the root folders contained in the PdfPortfolio.
Public propertyInitialFile

(Optional) The embedded file that shall be initially presented in the user interface. If the InitialFile is or is not a valid PdfFileSpecification, the initial file shall be the current document (PDF Portfolio). If the InitialFile is valid and does not match any file in the EmbeddedFiles name tree, the interactive PDF processor shall select the first item from the list of files to display in its user interface; if no files exist in the name tree, the interactive PDF processor shall display an empty preview window.

(PDF 2.0) For unencrypted wrapper documents for an encrypted payload document the InitialFile is required, and shall identify the encrypted payload entry in the EmbeddedFiles name tree.

Public propertySortLevels

Gets the sort levels by which files and folders in the PdfPortfolio are sorted.

If multiple files and folders in the PdfPortfolio have the same value for the field specified by the first level in the collection, the values for fields specified by the successive levels in the collection shall be used for sorting, until a unique order is determined or until the sort levels are exhausted.

Public propertySplitDirection(Optional; PDF 2.0) The orientation of the PdfPortfolio splitter bar.
Public propertySplitPosition(Optional; PDF 2.0) The initial position of the PdfPortfolio splitter bar, specified as a percentage of the available window area. Values shall range from 0 to 100. The property shall be ignored if SplitDirection is set to None.
Public propertyViewType

(Optional) The initial view.

Default value: Details.

Top
See Also