The Fragment type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Fragment()()()() |
Initializes a new empty instance of the Fragment class.
| |
| Fragment(String) |
Initialize a new instance of the Fragment class with given content.
| |
| Fragment(String, Double) |
Initialize a new instance of the Fragment class with given content and fontsize.
| |
| Fragment(String, Font) |
Initialize a new instance of the Fragment class with given content and font.
| |
| Fragment(String, Font, Double) |
Initialize a new instance of the Fragment class with given content, font and fontsize.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Clones a Fragment.
| |
| Compose |
Implement this method in a derived class to generate content
dynamically.
| |
| 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.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Read(String) |
Read from XML file.
(Inherited from Object.) | |
| Read(XmlElement) |
Read from XML element.
(Inherited from Object.) | |
| Read(XmlReader) |
Read from XML reader.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Actions |
The actions that the PDF reader will execute when this link is clicked.
| |
| Background |
Get or set the brush that is used to paint the background of the fragment.
| |
| Bold |
Get or set if the text appears bold.
| |
| DoubleUnderline |
Get or set if the fragment is rendered with a double underline.
| |
| Font |
The font for this fragment. You can use one of the 14 standard PDF fonts or a TrueType font.
Note that the TrueType functionality is available in the Professional edition only.
| |
| FontSize |
Font size in points.
| |
| HasContextFields |
If set the text property is scanned for
fields and these are substituted during PDF generation.
If Reference is not nullNothingnullptra null reference (Nothing in Visual Basic), this property is ignored.
| |
| Italic |
Get or set if the text appears italic.
| |
| KeepWithNext |
Get or set if the next fragment is started on the same line as this fragment.
| |
| Note |
Get or set the note to be inserted.
| |
| Outline |
Get or set if the fragment is rendered as an outline.
| |
| PreserveWhiteSpace |
Preserve spaces, tabs (\t), carriage returns (\r) and line feeds (\n).
Set this property to true to include preformatted text like code fragments.
| |
| ReadDirection |
Get or set the direction of the text fragment.
| |
| Reference |
Use this paragraph to resolve context fields.
| |
| ShowLinkBorder |
If true a black 1pt outline is drawn around the clickable area of the link.
| |
| StrikeOut |
Get or set if the fragment is rendered striked out.
| |
| Subscript |
Get or set if the fragment is rendered as subscript.
| |
| Superscript |
Get or set if the fragment is rendered as superscript.
| |
| SuppressSpaceBefore |
Suppress the insertion of an extra space between two successive fragments.
| |
| TabSize |
If PreserveWhiteSpace is true, each tab character (\t) is replaced by
TabSize number of spaces. Default is 3.
| |
| Text |
The content of this fragment.
| |
| TextColor |
Get or set the color of the text and decoration.
| |
| TrimStartOfLine |
If PreserveWhiteSpace is true, for each (see remarks) line the leading whitespaces will be removed.
| |
| Underline |
Get or set if the fragment is rendered with an underline.
|