Property | Type | Description | |
---|---|---|---|
Compress | bool | ||
WmfFontCorrection | float |
Property | Type | Description | |
---|---|---|---|
chapternumber | int | ||
close | bool | ||
htmlStyleClass | string | ||
javaScript_onLoad | string | ||
javaScript_onUnLoad | string | ||
listeners | List |
||
marginBottom | float | ||
marginLeft | float | ||
marginMirroring | bool | ||
marginMirroringTopBottom | bool | ||
marginRight | float | ||
marginTop | float | ||
open | bool | ||
pageN | int | ||
pageSize |
Method | Description | |
---|---|---|
Add ( IElement element ) : bool |
Adds an Element to the Document.
|
|
AddAuthor ( string author ) : bool |
Adds the author to a Document.
|
|
AddCreationDate ( ) : bool |
Adds the current date and time to a Document.
|
|
AddCreator ( string creator ) : bool |
Adds the creator to a Document.
|
|
AddDocListener ( IDocListener listener ) : void |
Adds a IDocListener to the Document.
|
|
AddHeader ( string name, string content ) : bool |
Adds a user defined header to the document.
|
|
AddKeywords ( string keywords ) : bool |
Adds the keywords to a Document.
|
|
AddProducer ( ) : bool |
Adds the producer to a Document.
|
|
AddSubject ( string subject ) : bool |
Adds the subject to a Document.
|
|
AddTitle ( string title ) : bool |
Adds the title to a Document.
|
|
Close ( ) : void |
Closes the document. Once all the content has been written in the body, you have to close the body. After that nothing can be written to the body anymore. |
|
CloseDocument ( ) : void |
Closes the document. Version for languages that are not case-dependant. Once all the content has been written in the body, you have to close the body. After that nothing can be written to the body anymore. |
|
Dispose ( ) : void | ||
Document ( ) : System |
Constructs a new Document-object.
|
|
Document ( |
Constructs a new Document-object.
|
|
Document ( |
Constructs a new Document-object.
|
|
GetBottom ( float margin ) : float |
Returns the lower left y-coordinate, considering a given margin.
|
|
GetLeft ( float margin ) : float |
Returns the lower left x-coordinate considering a given margin.
|
|
GetRight ( float margin ) : float |
Returns the upper right x-coordinate, considering a given margin.
|
|
GetTop ( float margin ) : float |
Returns the upper right y-coordinate, considering a given margin.
|
|
IsMarginMirroring ( ) : bool | ||
IsOpen ( ) : bool |
Checks if the document is open.
|
|
NewPage ( ) : bool |
Signals that an new page has to be started.
|
|
Open ( ) : void |
Opens the document. Once the document is opened, you can't write any Header- or Meta-information anymore. You have to open the document before you can begin to add content to the body of the document. |
|
OpenDocument ( ) : void |
Opens the document. Version for languages that are not case-dependant. Once the document is opened, you can't write any Header- or Meta-information anymore. You have to open the document before you can begin to add content to the body of the document. |
|
RemoveIDocListener ( IDocListener listener ) : void |
Removes a IDocListener from the Document.
|
|
ResetPageCount ( ) : void |
Sets the page number to 0.
|
|
SetMarginMirroring ( bool marginMirroring ) : bool | ||
SetMarginMirroringTopBottom ( bool marginMirroringTopBottom ) : bool | ||
SetMargins ( float marginLeft, float marginRight, float marginTop, float marginBottom ) : bool |
Sets the margins.
|
|
SetPageSize ( |
Sets the pagesize.
|
public Add ( IElement element ) : bool | ||
element | IElement | the Element to add |
return | bool |
public AddAuthor ( string author ) : bool | ||
author | string | the name of the author |
return | bool |
public AddCreator ( string creator ) : bool | ||
creator | string | the name of the creator |
return | bool |
public AddDocListener ( IDocListener listener ) : void | ||
listener | IDocListener | the new IDocListener |
return | void |
public AddHeader ( string name, string content ) : bool | ||
name | string | the name of the header |
content | string | the content of the header |
return | bool |
public AddKeywords ( string keywords ) : bool | ||
keywords | string | keywords to add |
return | bool |
public AddSubject ( string subject ) : bool | ||
subject | string | the subject |
return | bool |
public Document ( |
||
pageSize | the pageSize | |
return | System |
public Document ( |
||
pageSize | the pageSize | |
marginLeft | float | the margin on the left |
marginRight | float | the margin on the right |
marginTop | float | the margin on the top |
marginBottom | float | the margin on the bottom |
return | System |
public GetBottom ( float margin ) : float | ||
margin | float | a margin |
return | float |
public GetRight ( float margin ) : float | ||
margin | float | a margin |
return | float |
public RemoveIDocListener ( IDocListener listener ) : void | ||
listener | IDocListener | the IDocListener that has to be removed. |
return | void |
public SetMarginMirroring ( bool marginMirroring ) : bool | ||
marginMirroring | bool | |
return | bool |
public SetMarginMirroringTopBottom ( bool marginMirroringTopBottom ) : bool | ||
marginMirroringTopBottom | bool | |
return | bool |
public SetMargins ( float marginLeft, float marginRight, float marginTop, float marginBottom ) : bool | ||
marginLeft | float | the margin on the left |
marginRight | float | the margin on the right |
marginTop | float | the margin on the top |
marginBottom | float | the margin on the bottom |
return | bool |
public SetPageSize ( |
||
pageSize | the new pagesize | |
return | bool |