The PdfDocument type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddPage |
Creates a new page and adds it to this document.
Depending of the IsMetric property of the current region the page size is set to
A4 or Letter respectively. If this size is not appropriate it should be changed before
any drawing operations are performed on the page.
| |
AddPage(PdfPage) |
Adds the specified page to this document. If the page is from an external document,
it is imported to this document. In this case the returned page is not the same
object as the specified one.
| |
CanSave |
Determines whether the document can be saved.
| |
Clone |
Creates a copy of this object. The clone does not belong to a document, i.e. its owner and its iref are null.
(Inherited from PdfObject.) | |
Close |
Closes this instance.
| |
Dispose |
Disposes all references to this document stored in other documents. This function should be called
for documents you finished importing pages from. Calling Dispose is technically not necessary but
useful for earlier reclaiming memory of documents you do not need anymore.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FinishPageImport |
Must be called after adding pages to a document to fix up page-references in imported Acro-Fields.
| |
GetAllObjectIDs |
Gets an array of all object identifiers. For debugging purposes only.
| |
GetAllReferences |
Gets an array of all cross references ordered ascendingly by their object identifier.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InsertPage(Int32) |
Creates a new page and inserts it in this document at the specified position.
| |
InsertPage(Int32, PdfPage) |
Inserts the specified page in this document. If the page is from an external document,
it is imported to this document. In this case the returned page is not the same
object as the specified one.
| |
Save(Stream) |
Saves the document to the specified stream.
The stream is not closed by this function.
| |
Save(String) |
Saves the document to the specified path. If a file already exists, it will be overwritten.
| |
Save(Stream, Boolean) |
Saves the document to the specified stream.
| |
SetLicenseInfo |
Sets the license information.
| |
SignWithCertificate |
Digitally sign document with the certificate
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
See Also