←Select platform

GetEmbeddedFileCount(Stream,string) Method

Summary

Gets the total number of embedded files (attachments) in a PDF stream.

Syntax
C#
Java
public static int GetEmbeddedFileCount( 
   Stream stream, 
   string password 
) 
public static int getEmbeddedFileCount( 
   leadtools.ILeadStream,  
   java.lang.String 
); 

Parameters

stream

Stream containing a PDF document.

password

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

Return Value

The total number of embedded files (attachments) in the PDF.

Example

For an example, refer to GetEmbeddedFileCount(string,string).

Requirements
Target Platforms
Help Version 21.0.2021.7.6
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.