Click or drag to resize

PdfFolder Class

A folder for the purpose of organizing files into a hierarchical structure. The structure is represented by a tree with a single root folder acting as the common ancestor for all other folders and files in the collection.
Inheritance Hierarchy
System Object
Spire.Pdf.Collections PdfFolder

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

The PdfFolder type exposes the following members.

Properties
Name Description
Public property Name
(Required;ExtensionLevel3)A file name representing the name of the folder.Two sibling folders shall not share the same name following case normalization. Note:Descriptions of file name and case normalization follow this table.
Top
Methods
Name Description
Public method AddExistFolder
Add local folder into this folder.
Public method AddFile(String)
Add a local file into this folder.
Public method AddFile(String, Stream)
Add a stream into this folder.
Public method Clear
Clear this folder.
Public method CreateSubfolder
Create an subfolder.
Public method DeleteFile
Delete the file in this folder.
Public method DeleteSubfolder
Delete an subfolder.
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 GetFiles
Get the files in this folder.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetSubfolders
Get the subfolders of this folder.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method HasSubfolders
Whether has subfolders.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
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