←Select platform

IsPortfolio(string,string) Method

Summary

Indicates whether the file is a PDF portfolio.

Syntax
C#
Java
public static bool IsPortfolio( 
   string fileName, 
   string password 
) 
public static boolean isPortfolio( 
   java.lang.String string,  
   java.lang.String string2 
); 

Parameters

fileName

The name of the PDF file.

password

The password to use when loading this PDF file (if the file is encrypted); otherwise, use null.

Return Value

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

Remarks

A PDF file can be created as a portfolio which contains multiple files assembled into an integrated unit. 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", any number of attachments, and a schema to control how to view the document.

Refer to PDFDocument.EmbeddedFiles for more information.

Example

For an example, refer to GetEmbeddedFileCount.

Requirements

Target Platforms

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

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