The Document type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Document()()()() |
Constructs a new Document-object.
| |
| Document(Rectangle) |
Constructs a new Document-object.
| |
| Document(Rectangle, Single, Single, Single, Single) |
Constructs a new Document-object.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds an Element to the Document.
| |
| AddAuthor |
Adds the author to a Document.
| |
| AddCreationDate |
Adds the current date and time to a Document.
| |
| AddCreator |
Adds the creator to a Document.
| |
| AddDocListener |
Adds a IDocListener to the Document.
| |
| AddHeader |
Adds a user defined header to the document.
| |
| AddKeywords |
Adds the keywords to a Document.
| |
| AddProducer |
Adds the producer to a Document.
| |
| AddSubject |
Adds the subject to a Document.
| |
| AddTitle |
Adds the title to a Document.
| |
| Close |
Closes the document.
| |
| Equals | (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.) | |
| GetBottom |
Returns the lower left y-coordinate, considering a given margin.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetLeft |
Returns the lower left x-coordinate considering a given margin.
| |
| GetRight |
Returns the upper right x-coordinate, considering a given margin.
| |
| GetTop |
Returns the upper right y-coordinate, considering a given margin.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsMarginMirroring | ||
| IsOpen |
Checks if the document is open.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NewPage |
Signals that an new page has to be started.
| |
| Open |
Opens the document.
| |
| RemoveIDocListener |
Removes a IDocListener from the Document.
| |
| ResetFooter |
Resets the footer of this document.
| |
| ResetHeader |
Resets the header of this document.
| |
| ResetPageCount |
Sets the page number to 0.
| |
| SetMarginMirroring | ||
| SetMarginMirroringTopBottom | ||
| SetMargins |
Sets the margins.
| |
| SetPageSize |
Sets the pagesize.
| |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| chapternumber | ||
| close | Has the document allready been closed? | |
| Compress | Allows the pdf documents to be produced without compression for debugging purposes. | |
| footer | This is the textual part of the footer | |
| header | This is the textual part of a Page; it can contain a header | |
| htmlStyleClass | Style class in HTML body tag | |
| javaScript_onLoad | Content of JavaScript onLoad function | |
| javaScript_onUnLoad | Content of JavaScript onUnLoad function | |
| marginBottom | margin in y direction starting from the bottom | |
| marginLeft | margin in x direction starting from the left | |
| marginMirroring | ||
| marginMirroringTopBottom | ||
| marginRight | margin in x direction starting from the right | |
| marginTop | margin in y direction starting from the top | |
| open | Is the document open or not? | |
| pageN | Current pagenumber | |
| pageSize | The size of the page. | |
| WmfFontCorrection | Scales the WMF font size. The default value is 0.86. |
Properties
| Name | Description | |
|---|---|---|
| Bottom |
Returns the lower left y-coordinate.
| |
| BottomMargin |
Returns the bottom margin.
| |
| Footer |
Changes the footer of this document.
| |
| Header |
Changes the header of this document.
| |
| HtmlStyleClass |
Gets the style class of the HTML body tag
| |
| JavaScript_onLoad |
Gets the JavaScript onLoad command.
| |
| JavaScript_onUnLoad |
Gets the JavaScript onUnLoad command.
| |
| Left |
Returns the lower left x-coordinate.
| |
| LeftMargin |
Returns the left margin.
| |
| PageCount |
Sets the page number.
| |
| PageNumber |
Returns the current page number.
| |
| PageSize |
Gets the pagesize.
| |
| Product | ||
| Release | ||
| Right |
Returns the upper right x-coordinate.
| |
| RightMargin |
Return the right margin.
| |
| Top |
Returns the upper right y-coordinate.
| |
| TopMargin |
Returns the top margin.
| |
| Version |
Gets the iText version.
|