Property | Type | Description | |
---|---|---|---|
LINEHEIGHT | String | ||
NEWLINE | |||
NEXTPAGE |
Property | Type | Description | |
---|---|---|---|
attributes | object>.Dictionary | ||
content | StringBuilder | ||
font |
Method | Description | |
---|---|---|
Append ( string str ) : StringBuilder |
appends some text to this Chunk.
|
|
Chunk ( |
||
Chunk ( IDrawInterface separator ) : System | ||
Chunk ( IDrawInterface separator, bool vertical ) : System | ||
Chunk ( IDrawInterface separator, float tabPosition ) : System | ||
Chunk ( IDrawInterface separator, float tabPosition, bool newline ) : System | ||
Chunk ( Image image, float offsetX, float offsetY ) : System |
Constructs a chunk containing an Image.
|
|
Chunk ( Image image, float offsetX, float offsetY, bool changeLeading ) : System |
Constructs a chunk containing an Image.
|
|
Chunk ( char c ) : System | ||
Chunk ( char c, |
||
Chunk ( string content ) : System |
Constructs a chunk of text with a certain content, without specifying a Font.
|
|
Chunk ( string content, |
Constructs a chunk of text with a certain content and a certain Font.
|
|
GetCharacterSpacing ( ) : float | ||
GetHyphenation ( ) : IHyphenationEvent | ||
GetImage ( ) : Image |
Returns the image.
|
|
GetTextRise ( ) : float | ||
GetWidthPoint ( ) : float | ||
HasAttributes ( ) : bool |
Checks the attributes of this Chunk.
|
|
IsContent ( ) : bool | ||
IsEmpty ( ) : bool |
Checks is this Chunk is empty.
|
|
IsNestable ( ) : bool | ||
Process ( IElementListener listener ) : bool |
Processes the element by adding it (or the different parts) to an IElementListener.
|
|
SetAction ( |
Sets an action for this Chunk.
|
|
SetAnchor ( |
Sets an anchor for this Chunk.
|
|
SetAnchor ( string url ) : |
Sets an anchor for this Chunk.
|
|
SetAnnotation ( |
Sets a generic annotation to this Chunk.
|
|
SetBackground ( |
Sets the color of the background Chunk.
|
|
SetBackground ( |
||
SetCharacterSpacing ( float charSpace ) : |
||
SetGenericTag ( string text ) : |
Sets the generic tag Chunk. The text for this tag can be retrieved with PdfPageEvent. |
|
SetHorizontalScaling ( float scale ) : |
||
SetHyphenation ( IHyphenationEvent hyphenation ) : |
sets the hyphenation engine to this Chunk.
|
|
SetLocalDestination ( string name ) : |
Sets a local destination for this Chunk.
|
|
SetLocalGoto ( string name ) : |
Sets a local goto for this Chunk. There must be a local destination matching the name. |
|
SetNewPage ( ) : |
Sets a new page tag.
|
|
SetRemoteGoto ( string filename, int page ) : |
Sets a goto for a remote destination for this Chunk.
|
|
SetRemoteGoto ( string filename, string name ) : |
Sets a goto for a remote destination for this Chunk.
|
|
SetSkew ( float alpha, float beta ) : |
||
SetSplitCharacter ( ISplitCharacter splitCharacter ) : |
Sets the split characters.
|
|
SetTextRenderMode ( int mode, float strokeWidth, |
||
SetTextRise ( float rise ) : |
Sets the text displacement relative to the baseline. Positive values rise the text, negative values lower the text. It can be used to implement sub/basescript. |
|
SetUnderline ( |
||
SetUnderline ( float thickness, float yPosition ) : |
||
ToString ( ) : string | ||
createTabspace ( ) : |
||
createTabspace ( float spacing ) : |
||
createWhitespace ( String content ) : |
||
createWhitespace ( String content, bool preserve ) : |
||
isTabspace ( ) : bool | ||
isWhitespace ( ) : bool | ||
setLineHeight ( float lineheight ) : |
Method | Description | |
---|---|---|
Chunk ( ) : System | ||
SetAttribute ( string name, Object obj ) : |
Sets an arbitrary attribute.
|
public Append ( string str ) : StringBuilder | ||
str | string | a string |
return | StringBuilder |
public Chunk ( IDrawInterface separator ) : System | ||
separator | IDrawInterface | |
return | System |
public Chunk ( IDrawInterface separator, bool vertical ) : System | ||
separator | IDrawInterface | |
vertical | bool | |
return | System |
public Chunk ( IDrawInterface separator, float tabPosition ) : System | ||
separator | IDrawInterface | |
tabPosition | float | |
return | System |
public Chunk ( IDrawInterface separator, float tabPosition, bool newline ) : System | ||
separator | IDrawInterface | |
tabPosition | float | |
newline | bool | |
return | System |
public Chunk ( Image image, float offsetX, float offsetY ) : System | ||
image | Image | the image |
offsetX | float | the image offset in the x direction |
offsetY | float | the image offset in the y direction |
return | System |
public Chunk ( Image image, float offsetX, float offsetY, bool changeLeading ) : System | ||
image | Image | the image |
offsetX | float | the image offset in the x direction |
offsetY | float | the image offset in the y direction |
changeLeading | bool | true if the leading has to be adapted to the image |
return | System |
public Chunk ( string content ) : System | ||
content | string | the content |
return | System |
public Chunk ( string content, |
||
content | string | the content |
font | the font | |
return | System |
public GetHyphenation ( ) : IHyphenationEvent | ||
return | IHyphenationEvent |
public Process ( IElementListener listener ) : bool | ||
listener | IElementListener | an IElementListener |
return | bool |
public SetAction ( |
||
action | the action | |
return |
public SetAnchor ( |
||
url | the Uri to link to | |
return |
public SetAnchor ( string url ) : |
||
url | string | the url to link to |
return |
public SetAnnotation ( |
||
annotation | the annotation | |
return |
public SetBackground ( |
||
color | the color of the background | |
return |
public SetBackground ( |
||
color | ||
extraLeft | float | |
extraBottom | float | |
extraRight | float | |
extraTop | float | |
return |
public SetCharacterSpacing ( float charSpace ) : |
||
charSpace | float | |
return |
public SetGenericTag ( string text ) : |
||
text | string | the text for the tag |
return |
public SetHorizontalScaling ( float scale ) : |
||
scale | float | |
return |
public SetHyphenation ( IHyphenationEvent hyphenation ) : |
||
hyphenation | IHyphenationEvent | the hyphenation engine |
return |
public SetLocalDestination ( string name ) : |
||
name | string | the name for this destination |
return |
public SetLocalGoto ( string name ) : |
||
name | string | the name of the destination to go to |
return |
public SetRemoteGoto ( string filename, int page ) : |
||
filename | string | the file name of the destination document |
page | int | the page of the destination to go to. First page is 1 |
return |
public SetRemoteGoto ( string filename, string name ) : |
||
filename | string | the file name of the destination document |
name | string | the name of the destination to go to |
return |
public SetSkew ( float alpha, float beta ) : |
||
alpha | float | |
beta | float | |
return |
public SetSplitCharacter ( ISplitCharacter splitCharacter ) : |
||
splitCharacter | ISplitCharacter | the SplitCharacter interface |
return |
public SetTextRenderMode ( int mode, float strokeWidth, |
||
mode | int | |
strokeWidth | float | |
strokeColor | ||
return |
public SetTextRise ( float rise ) : |
||
rise | float | the displacement in points |
return |
public SetUnderline ( |
||
color | ||
thickness | float | |
thicknessMul | float | |
yPosition | float | |
yPositionMul | float | |
cap | int | |
return |
public SetUnderline ( float thickness, float yPosition ) : |
||
thickness | float | |
yPosition | float | |
return |
public static createTabspace ( float spacing ) : |
||
spacing | float | |
return |
public static createWhitespace ( String content ) : |
||
content | String | |
return |
public static createWhitespace ( String content, bool preserve ) : |
||
content | String | |
preserve | bool | |
return |
public setLineHeight ( float lineheight ) : |
||
lineheight | float | |
return |