The PDF text class
Inheritance Hierarchy
HiQPdfPdfObject
HiQPdfPdfDrawableObject
HiQPdfPdfText
Namespace: HiQPdf
Assembly: HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax
The PdfText type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfText |
Constructs an empty text object. The SetTextSystemFont(String, Single) method must be called after the object creation
| |
PdfText(Single, Single, String, PdfFont) |
Constructs a text object to be laid out at a given coordinate
| |
PdfText(Single, Single, String, Font) |
Constructs a text object to be laid out at a given coordinate
| |
PdfText(Single, Single, Single, String, PdfFont) |
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
| |
PdfText(Single, Single, Single, String, Font) |
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
| |
PdfText(Single, Single, Single, Single, String, PdfFont) |
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
| |
PdfText(Single, Single, Single, Single, String, Font) |
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
| |
PdfText(Single, Single, Single, Single, String, PdfStandardFont, Single) |
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
| |
PdfText(Single, Single, Single, Single, String, Byte, Single, FontStyle) |
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
| |
PdfText(Single, Single, Single, Single, String, String, Single, FontStyle) |
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
|
Properties
Name | Description | |
---|---|---|
BackColor |
The PDF object back color
(Inherited from PdfDrawableObject.) | |
BlendingMode |
The blending mode when this object is drawn in PDF.
This property is Normal by default
(Inherited from PdfDrawableObject.) | |
CharSpacing |
The spacing between characters in points
| |
ClipRectangle |
The clip rectangle applied when drawing the object in PDF
(Inherited from PdfDrawableObject.) | |
Cropping |
Controls if the text is cropped at the end of PDF page where it is rendered. This property is false by default and
the text can continue on the next page if necessary
| |
DestHeight |
The destination rectangle height in points
| |
DestWidth |
The destination rectangle width in points
| |
DestX |
The destination rectangle top left corner X coordinate in points
| |
DestY |
The destination rectangle top left corner Y coordinate in points
| |
EmbedSystemFont |
Controls if the .NET font given in the constructor should be embedded in the PDF document.
By default the font is embedded if necessary
| |
ForeColor |
The PDF object fore color
(Inherited from PdfDrawableObject.) | |
Gradient |
The PDF object gradient color
(Inherited from PdfDrawableObject.) | |
HorizontalAlign |
The horizontal alignment of the text
| |
LineSpacing |
The spacing between lines in points
| |
LineStyle |
The style of the lines rendered by this object
(Inherited from PdfDrawableObject.) | |
Opacity |
The element opacity as a value between 0 which means completely transparent to 100 which means completely opaque.
The object is completely opaque by default
(Inherited from PdfDrawableObject.) | |
Order |
The text order
| |
Rise |
The text rise in points
| |
RotationAngle |
The text counter-clockwise rotation angle
| |
Text |
The text to be laid out
| |
TextFont |
The text PDF font
| |
TextSystemFont |
The text system font
| |
VerticalAlign |
The vertical alignment of the text
| |
WordSpacing |
The spacing between words in points
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it 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.) | |
SetRotationAngle |
Sets the clockwise rotation angle of the coordinates system before drawing this object in PDF
(Inherited from PdfDrawableObject.) | |
SetScaling |
Sets the horizontal and vertical scaling of the coordinates system before drawing this object in PDF
(Inherited from PdfDrawableObject.) | |
SetSkewAngles |
Sets the clockwise skew angles of the coordinates system before drawing this object in PDF
(Inherited from PdfDrawableObject.) | |
SetTextSystemFont |
Set the text system font based on font family name and the font size in points
| |
SetTranslation |
Sets the horizontal and vertical translation of the coordinates system before drawing this object in PDF
(Inherited from PdfDrawableObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also