Click or drag to resize

PdfNewDocument Class

Represents a logic to create Pdf document.
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 class PdfNewDocument : PdfDocumentBase

The PdfNewDocument type exposes the following members.

Constructors
Name Description
Public method PdfNewDocument
Initializes a new instance of the class.
Top
Properties
Name Description
Public property Attachments
Gets the attachments of the document.
(Overrides PdfDocumentBase Attachments .)
Public property Bookmarks
Gets the root of the bookmark tree in the document.
(Overrides PdfDocumentBase Bookmarks .)
Public property ColorSpace
Gets or sets the color space of the document.
(Inherited from PdfDocumentBase .)
Public property CompressionLevel
Gets or sets the desired level of stream compression.
(Inherited from PdfDocumentBase .)
Public property Conformance Obsolete.
The conformance level.
(Inherited from PdfDocumentBase .)
Public property DocumentInformation
Gets or sets document's information and properties.
(Inherited from PdfDocumentBase .)
Public property FileStructure
Gets or sets the internal structure of the PDF file.
(Inherited from PdfDocumentBase .)
Public property Form
Gets the interactive form of the document.
(Overrides PdfDocumentBase Form .)
Public property JavaScripts
Gets the additional document's actions.
(Inherited from PdfDocumentBase .)
Public property PageLabels
Page labels.
(Inherited from PdfDocumentBase .)
Public property Pages
Gets the pages.
(Inherited from PdfDocumentBase .)
Public property PageSettings
Gets or sets the settings of pdf page.
(Inherited from PdfDocumentBase .)
Public property Sections
Gets the section collections of pdf.
(Inherited from PdfDocumentBase .)
Public property Security Obsolete.
Gets the security parameters of the document.
(Inherited from PdfDocumentBase .)
Public property Template
Gets or sets a template that is applied to all pages in the document.
(Inherited from PdfDocumentBase .)
Public property UsedFonts
Gets the fonts which are available in the PDF document.
(Inherited from PdfDocumentBase .)
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.
(Inherited from PdfDocumentBase .)
Top
Methods
Name Description
Protected method CheckFields
Checks what fields are connected with the page.
(Inherited from PdfDocumentBase .)
Public method Clone
Creates a new object that is a copy of the current instance.
(Overrides PdfDocumentBase Clone .)
Public method Close
Closes the document. Releases all common resources.
(Inherited from PdfDocumentBase .)
Public method Close(Boolean)
Closes the document.
(Overrides PdfDocumentBase Close(Boolean) .)
Public method Dispose (Inherited from 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.
(Inherited from PdfDocumentBase .)
Public method ImportPage(PdfDocumentBase, Int32)
Imports a page.
(Inherited from PdfDocumentBase .)
Public method ImportPage(PdfDocumentBase, Int32, Int32)
Imports a page.
(Inherited from PdfDocumentBase .)
Public method ImportPageRange(PdfDocumentBase, Int32, Int32)
Imports a page range from a loaded document.
(Inherited from PdfDocumentBase .)
Public method ImportPageRange(PdfDocumentBase, Int32, Int32, Int32)
Imports a page range from a loaded document.
(Inherited from PdfDocumentBase .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Save(String)
Saves the document to the specified filename.
(Inherited from PdfDocumentBase .)
Public method Save(Stream)
Saves the document to the specified stream.
(Overrides PdfDocumentBase Save(Stream) .)
Public method Save(FileFormat)
Convert the document to streams with the file format.
(Inherited from PdfDocumentBase .)
Public method Save(Stream, FileFormat)
Convert the document to an stream with the file format.
(Inherited from PdfDocumentBase .)
Public method Save(String, FileFormat)
Convert the document to a file with the file format.
(Inherited from PdfDocumentBase .)
Public method Save(Int32, Int32, FileFormat)
Convert the document to streams with the file format.
(Inherited from PdfDocumentBase .)
Public method SaveToDoc(String)
Save the document to doc as file.
(Inherited from PdfDocumentBase .)
Public method SaveToDoc(Stream, Boolean)
Save the document to doc as stream[].
(Inherited from PdfDocumentBase .)
Public method SaveToHtml(Stream)
Save the document to html stream.
(Inherited from PdfDocumentBase .)
Public method SaveToHtml(String)
Save the document to html file.
(Inherited from PdfDocumentBase .)
Public method SaveToPcl(Stream)
Convert pdf document to pcl.
(Inherited from PdfDocumentBase .)
Public method SaveToPcl(String)
Convert pdf document to pcl.
(Inherited from PdfDocumentBase .)
Public method SaveToPostScript(Stream)
Convert pdf document to postscript file.
(Inherited from PdfDocumentBase .)
Public method SaveToPostScript(String)
Convert pdf document to postscript file.
(Inherited from PdfDocumentBase .)
Public method SaveToSVG
Save the document to svg as stream[].
(Inherited from PdfDocumentBase .)
Public method SaveToXPS(Stream)
Save the document to xps as stream.
(Inherited from PdfDocumentBase .)
Public method SaveToXPS(String)
Save the document to xps as file.
(Inherited from PdfDocumentBase .)
Public method Split(String)
Splits a PDF file to many PDF files, each of them consists of one page from the source file.
(Inherited from PdfDocumentBase .)
Public method Split(String, Int32)
Splits a PDF file to many PDF files, each of them consists of one page from the source file.
(Inherited from PdfDocumentBase .)
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.
(Inherited from PdfDocumentBase .)
Protected field m_sections (Inherited from PdfDocumentBase .)
Protected field m_security
Security properties.
(Inherited from PdfDocumentBase .)
Top
See Also