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.
Namespace: Spire.Pdf.CollectionsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PdfFolder : [T:sprᝰ]
Public Class PdfFolder Implements [T:sprᝰ]
public ref class PdfFolder : [T:sprᝰ]
type PdfFolder = class interface [T:sprᝰ] end
Members
| All Members | Properties | Methods |
| Member | Description | |
|---|---|---|
| AddExistFolder(String) |
Add local folder into this folder.
| |
| AddFile(String) |
Add a local file into this folder.
| |
| AddFile(String, Stream) |
Add a stream into this folder.
| |
| Clear()()()() |
Clear this folder.
| |
| CreateSubfolder(String) |
Create an subfolder.
| |
| DeleteFile(PdfAttachment) |
Delete the file in this folder.
| |
| DeleteSubfolder(String) |
Delete an subfolder.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetFiles()()()() |
Get the files in this folder.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetSubfolders()()()() |
Get the subfolders of this folder.
| |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HasSubfolders()()()() |
Whether has subfolders.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| 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.
| |
| SynchronizeFromPdfPrimitive()()()() |
Synchronize the instance from the pdf primitive.
| |
| SynchronizeToPdfPrimitive()()()() |
Synchronize the instance to the pdf primitive.
| |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Collections..::..PdfFolder
Spire.Pdf.Collections..::..PdfFolder