PDFPortfolio¶
Namespace: O2S.Components.PDF4NET.Portfolios
Defines a PDF porfolio.
Inheritance Object → PDFDocument → PDFPortfolio
Constructors¶
PDFPortfolio()¶
Initializes a new PDFPortfolio object.
PDFPortfolio(String)¶
Initializes a new PDFPortfolio object.
Parameters
fileName String
Path to PDF portfolio.
PDFPortfolio(String, String)¶
Initializes a new PDFPortfolio object.
Parameters
fileName String
Path to PDF portfolio.
password String
Password for opening the PDF portfolio.
PDFPortfolio(Stream)¶
Initializes a new PDFPortfolio object.
Parameters
stream Stream
The PDF stream.
PDFPortfolio(Stream, String)¶
Initializes a new PDFPortfolio object.
Parameters
stream Stream
The PDF stream.
password String
Password for opening the PDF portfolio.
Properties¶
AttributeDefinitions¶
Gets or sets the attribute definitions for this portfolio.
Property Value
PDFPortfolioAttributeDefinitions
Attribute definitions for this portfolio,
used to define metadata information for items in the portfolio.
CosDictionary¶
Gets the COS dictionary asssociated with this object.
Property Value
PDFCosDictionary
The internal COS dictionary.
Remarks
Incorrect manipulation of the information in the COS dictionary can lead to invalid PDF files.
CoverPage¶
Gets the portfolio's cover page.
Property Value
PDFPage
The page that is displayed when no portfolio items are selected.
DisplayMode¶
Gets or sets the portfolio display mode.
Property Value
PDFPortfolioDisplayMode
The display mode of this portfolio.
DocumentSecurityStore¶
Gets or sets the document security store.
Property Value
PDFDocumentSecurityStore
A PDFDocumentSecurityStore object.
Remarks
The document security store includes relevant information for validating digital signatures.
It supports the ability to add this critical information after the signed document has been created and before this information is no longer available.
Folders¶
Gets the root folders.
Property Value
PDFPortfolioFolderCollection
The list of root folders.
ID¶
Gets or sets the document ID.
Property Value
Byte[]
The PDF identifier of this document.
Items¶
Gets the portfolio items.
Property Value
PDFPortfolioItemCollection
The list of portfolio items.
Language¶
Gets or sets the document language.
Property Value
String
A language identifier that shall specify the natural language for all text in the document except where overridden by language specifications for structure elements or marked content.
PDFVersion¶
Gets or sets the PDF version of this PDFPortfolio object.
Property Value
PDFVersion
The PDF version of this PDFPortfolio object.
SecurityHandler¶
Gets the document security handler.
Property Value
PDFSecurityHandler
A PDFSecurityHandler that represents the handler used to encrypt the file loaded in this PDFDocument.
Remarks
Both RC4 and AES security handlers are supported.
SortInformation¶
Gets or sets the sort information.
Property Value
PDFPortfolioSortInformation
The information for sorting the portfolio items in the user interface.
StartupDocument¶
Gets or sets the startup document.
Property Value
PDFPortfolioItem
The document that is displayed when the portfolio is opened.
VersionExtension¶
Gets or sets the PDF version extension.
Property Value
PDFVersionExtension
The extended PDF version this portfolio implements.
Methods¶
Save(Stream, PDFSecurityHandler, Boolean)¶
Saves this portfolio to the specified stream.
Parameters
stream Stream
The Stream where the portfolio will be saved.
securityHandler PDFSecurityHandler
Security handler for encrypting the saved portfolio.
enableObjectCompression Boolean
When set to true, the structure of the PDF objects is also compressed. Supported when PDF version >= 1.5