PdfText Class

The PDF text class

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public class PdfText : PdfDrawableObject
Inheritance
Object    PdfObject    PdfDrawableObject    PdfText

Constructors

PdfText(Single, Single, String, PdfFont) 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, Single, String, PdfFont) Constructs a text object to be laid out at a given coordinate and having a given width in PDF

Properties

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
VerticalAlign The vertical alignment of the text
WordSpacing The spacing between words in points

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(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)
SetTranslation Sets the horizontal and vertical translation of the coordinates system before drawing this object in PDF
(Inherited from PdfDrawableObject)
ToString
(Inherited from Object)

See Also