Pdf |
The PdfFormattedText type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfFormattedText | Initializes a new instance of the PdfFormattedText class. |
| Name | Description | |
|---|---|---|
| Color | Gets or sets the color for the characters appended next to the PdfFormattedText object. | |
| Font | Gets or sets the font for the characters appended next to the PdfFormattedText object. | |
| FontFace | Gets or sets the font face for the characters appended next to the PdfFormattedText object. | |
| FontFamily | Gets or sets the font family for the characters appended next to the PdfFormattedText object. | |
| FontSize | Gets or sets the font size, in points (1/72 inch per point), for the characters appended next to the PdfFormattedText object. | |
| FontStretch | Gets or sets the font stretch for the characters appended next to the PdfFormattedText object. | |
| FontStyle | Gets or sets the font style for the characters appended next to the PdfFormattedText object. | |
| FontWeight | Gets or sets the font weight for the characters appended next to the PdfFormattedText object. | |
| Height | Gets the distance from the top of the first line to the bottom of the last line of the PdfFormattedText object. | |
| Kerning | Gets ot sets the minimum fonts size for a character kerning. Initial value: 0. | |
| Language | Gets or sets the language for the characters appended next to the PdfFormattedText object. | |
| Length | Gets the total number of PdfFormattedText positions. Should be used with the FormatLine(Int32, Double) method and the Length property. | |
| LineHeight | Gets or sets the line height, or line spacing, between lines of text. | |
| MaxTextWidth | Gets or sets the maximum text width for a line of text. | |
| MaxTextWidths | Gets or sets the array of maximum text widths within the PdfFormattedText, on a per-line basis. Each element in the array represents the maximum text width of sequential lines of text. | |
| Opacity | Gets or sets the opacity for the characters appended next to the PdfFormattedText object. | |
| TextAlignment | Gets or sets the alignment of text within a PdfFormattedText object. | |
| TextFormattingMode | Gets or sets the text formatting mode. | |
| Width | Gets the width between the leading and trailing alignment points of a line, excluding any trailing white-space characters. |
| Name | Description | |
|---|---|---|
| Append | Appends the specified string to this PdfFormattedText instance. | |
| AppendLine | Appends the line terminator to the end of the current PdfFormattedText object. | |
| AppendLine(String) | Appends the specified string followed by the line terminator to the end of the current PdfFormattedText object. | |
| Clear | Removes all characters from the current PdfFormattedText instance. | |
| Dispose | Releases all managed and unmanaged resources used by the PdfFormattedText object. | |
| FormatLine | Creates a PdfFormattedTextLine that starts with the specified character index and is of the specified maximum width. This method allows incremental breaking of a PdfFormattedText to PdfFormattedTextLines. It is useful in the following scenarios:
To format the next PdfFormattedTextLine, increment the firstCharIndex by Length of the current PdfFormattedTextLine, until firstCharIndex is greater than or equal to the Length. Use method DrawText(PdfFormattedTextLine, PdfPoint) to draw the PdfFormattedTextLine. | |
| ToString |
Converts the value of this instance to a String.
(Overrides ObjectToString) |