Click or drag to resize

PdfDocumentBase Class

Represent common PdfDocumentBase classes.
Inheritance Hierarchy
System Object
Spire.Pdf PdfDocumentBase
Spire.Pdf PdfNewDocument

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public abstract class PdfDocumentBase : IDisposable

The PdfDocumentBase type exposes the following members.

Properties
Name Description
Public property Attachments
Public property Bookmarks
Gets the bookmarks.
Public property ColorSpace
Gets or sets the color space of the document.
Public property CompressionLevel
Gets or sets the desired level of stream compression.
Public property Conformance Obsolete.
The conformance level.
Public property DocumentInformation
Gets or sets document's information and properties.
Public property FileStructure
Gets or sets the internal structure of the PDF file.
Public property Form
Gets the pdfform.
Public property JavaScripts
Gets the additional document's actions.
Public property PageLabels
Page labels.
Public property Pages
Gets the pages.
Public property PageSettings
Gets or sets the settings of pdf page.
Public property Sections
Gets the section collections of pdf.
Public property Security Obsolete.
Gets the security parameters of the document.
Public property Template
Gets or sets a template that is applied to all pages in the document.
Public property UsedFonts
Gets the fonts which are available in the PDF document.
Public property ViewerPreferences
Gets or sets a viewer preferences object controlling the way the document is to be presented on the screen or in print.
Top
Methods
Name Description
Protected method CheckFields
Checks what fields are connected with the page.
Public method Clone
Clone the object.
Public method Close
Closes the document. Releases all common resources.
Public method Close(Boolean)
Closes the document.
Protected method Static member CreateStream( Byte )
Creates the stream.
Protected method Static member CreateStream(String)
Creates the stream.
Public method Dispose
Releases all resources used by the PdfDocumentBase
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 .)
Public method ImportPage(PdfDocumentBase, PdfPageBase)
Imports a page.
Public method ImportPage(PdfDocumentBase, Int32)
Imports a page.
Public method ImportPage(PdfDocumentBase, Int32, Int32)
Imports a page.
Public method ImportPageRange(PdfDocumentBase, Int32, Int32)
Imports a page range from a loaded document.
Public method ImportPageRange(PdfDocumentBase, Int32, Int32, Int32)
Imports a page range from a loaded document.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Static member Merge
Merges the specified source documents and return destination document.
Public method Save(Stream)
Saves the document to the specified stream.
Public method Save(String)
Saves the document to the specified filename.
Public method Save(FileFormat)
Convert the document to streams with the file format.
Public method Save(Stream, FileFormat)
Convert the document to an stream with the file format.
Public method Save(String, FileFormat)
Convert the document to a file with the file format.
Public method Save(Int32, Int32, FileFormat)
Convert the document to streams with the file format.
Public method SaveToDoc(String)
Save the document to doc as file.
Public method SaveToDoc(Stream, Boolean)
Save the document to doc as stream[].
Public method SaveToHtml(Stream)
Save the document to html stream.
Public method SaveToHtml(String)
Save the document to html file.
Public method SaveToPcl(Stream)
Convert pdf document to pcl.
Public method SaveToPcl(String)
Convert pdf document to pcl.
Public method SaveToPostScript(Stream)
Convert pdf document to postscript file.
Public method SaveToPostScript(String)
Convert pdf document to postscript file.
Public method SaveToSVG
Save the document to svg as stream[].
Public method SaveToXPS(Stream)
Save the document to xps as stream.
Public method SaveToXPS(String)
Save the document to xps as file.
Public method Split(String)
Splits a PDF file to many PDF files, each of them consists of one page from the source file.
Public method Split(String, Int32)
Splits a PDF file to many PDF files, each of them consists of one page from the source file.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_pages
Collection of loaded and created pages.
Protected field m_sections
Protected field m_security
Security properties.
Top
See Also