Skip to content

# PDFPortfolioItem

Namespace: O2S.Components.PDF4NET.Portfolios

Defines an item included in a PDF portfolio.

    public class PDFPortfolioItem

Inheritance Object → PDFPortfolioItem

## Constructors

### PDFPortfolioItem()

Initializes a new PDFPortfolioItem object.

    public PDFPortfolioItem()

## Properties

### Attributes

Gets or sets the attributes.

    public PDFPortfolioItemAttributes Attributes { get; set; }

Property Value

PDFPortfolioItemAttributes
A dictionary of attributes associated with this PDFPortfolioItem.

### CreationDate

Gets or sets the creation date and time.

    public DateTime CreationDate { get; set; }

Property Value

DateTime
The date and time when when this PDFPortfolioItem was created.

### Description

Gets or sets the description.

    public string Description { get; set; }

Property Value

String
A description associated with this PDFPortfolioItem.

### FileName

Gets or sets the file name.

    public string FileName { get; set; }

Property Value

String
The name of the file associated with the content stored in PDFPortfolioItem.Payload property.

### Folder

Gets or sets the folder.

    public PDFPortfolioFolder Folder { get; set; }

Property Value

PDFPortfolioFolder
The folder that this PDFPortfolioItem belongs to.

Remarks

The portfolio item will be displayed in the root of the portfolio if it does not belong to a folder.

### MimeType

Gets or sets the MIME type.

    public string MimeType { get; set; }

Property Value

String
The MIME type of the portfolio item.

### ModifyDate

Gets or sets the modify date and time.

    public DateTime ModifyDate { get; set; }

Property Value

DateTime
The date and time when when this PDFPortfolioItem was last modified.

### Payload

Gets or sets the item payload.

    public Byte[] Payload { get; set; }

Property Value

Byte[]
The content of the portfolio item.