Class PdfCollection
Describes a PDF portfolio (collection) that groups embedded files for display in a viewer's attachment panel (PDF spec §12.3.5).
Inherited Members
Namespace: DRIT.Pdf.EmbeddedFiles
Assembly: DRIT.Pdf.dll
Syntax
public sealed class PdfCollection
Constructors
PdfCollection(PortfolioLayout)
Initializes a new PdfCollection with the specified layout.
Declaration
public PdfCollection(PortfolioLayout layout)
Parameters
| Type | Name | Description |
|---|---|---|
| PortfolioLayout | layout | The layout style for the portfolio browser. |
Properties
Fields
Gets the schema field definitions for the portfolio.
Declaration
public PortfolioFieldCollection Fields { get; }
Property Value
| Type | Description |
|---|---|
| PortfolioFieldCollection |
Files
Gets the file entries at the portfolio root level.
Declaration
public PortfolioFileCollection Files { get; }
Property Value
| Type | Description |
|---|---|
| PortfolioFileCollection |
Folders
Gets the folder entries at the portfolio root level.
Declaration
public PortfolioFolderCollection Folders { get; }
Property Value
| Type | Description |
|---|---|
| PortfolioFolderCollection |
InitialFile
Gets or sets the optional file initially presented by viewers when opening the portfolio.
Declaration
public EmbeddedFile? InitialFile { get; set; }
Property Value
| Type | Description |
|---|---|
| EmbeddedFile |
Layout
Gets or sets the layout style for the portfolio browser.
Declaration
public PortfolioLayout Layout { get; set; }
Property Value
| Type | Description |
|---|---|
| PortfolioLayout |