Click or drag to resize

PdfCollection Class

A collection specifies the viewing and organizational characteristics of portable collections.The intent of portable collections is to present, sort, and search collections of related document,such as email archives, photo collections, and engineering bidsets.
Inheritance Hierarchy
System Object
Spire.Pdf.Collections PdfCollection

Namespace: Spire.Pdf.Collections
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfCollection

The PdfCollection type exposes the following members.

Properties
Name Description
Public property AssociatedFiles
Get the document collection associated files
Public property FieldNames
Get the document collection associated field names
Public property Folders
(Required if the collection has folders; ExtensionLevel3) An indirect reference to the folder dictionary that is the single common ancestor of all other folders in a portable collection.
Top
Methods
Name Description
Public method AddAttachment
Add an attachment.
Public method AddCustomField
Add a custom field.
Public method AddFile(String)
Add a local file.
Public method AddFile(String, Stream)
Add a stream.
Public method AddFileRelatedField
Add a file related field.
Public method Clear
Clear all files and folders.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Sort
Sort embedded files with field names.
Protected method SynchronizeFromPdfPrimitive
Synchronize the instance from the pdf primitive.
Protected method SynchronizeToPdfPrimitive
Synchronize the instance to the pdf primitive.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also