←Select platform

IsPortfolio Property

Summary

Determines whether the file is a portfolio.

Syntax
C#
VB
C++
public bool IsPortfolio {get;} 
Public ReadOnly Property IsPortfolio() As Boolean 
   Get 
public:  
   property bool IsPortfolio 
   { 
      bool get() 
   } 

Property Value

true if the file is a portfolio; otherwise, false.

Remarks

A PDF file can be created as a portfolio which contains multiple files assembled into an integrated unit. It can contain any number of attachments as well as a schema to control how to view the document.

In these types of documents, the file contains a single generic help page with text such as "For the best experience, open this PDF portfolio in a compatible viewer". The value of IsPortfolio will be true if the file is a PDF portfolio. It is up to the application to determine further handling of the file.

The number of attachments are stored in AttachmentCount.

Example

For an example, refer to ReadAttachments.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.