HiQPdf Documentation

PdfText Class

Quickly Create High Quality PDFs
The PDF text class
Inheritance Hierarchy

SystemObject
  HiQPdfPdfObject
    HiQPdfPdfDrawableObject
      HiQPdfPdfText

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 12.0.0.0
Syntax

public class PdfText : PdfDrawableObject

The PdfText type exposes the following members.

Constructors

  NameDescription
Public methodPdfText
Constructs an empty text object. The SetTextSystemFont(String, Single) method must be called after the object creation
Public methodPdfText(Single, Single, String, PdfFont)
Constructs a text object to be laid out at a given coordinate
Public methodPdfText(Single, Single, String, Font)
Constructs a text object to be laid out at a given coordinate
Public methodPdfText(Single, Single, Single, String, PdfFont)
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
Public methodPdfText(Single, Single, Single, String, Font)
Constructs a text object to be laid out at a given coordinate and having a given width in PDF
Public methodPdfText(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
Public methodPdfText(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
Top
Properties

  NameDescription
Public propertyBackColor
The PDF object back color
(Inherited from PdfDrawableObject.)
Public propertyBlendingMode
The blending mode when this object is drawn in PDF. This property is Normal by default
(Inherited from PdfDrawableObject.)
Public propertyCharSpacing
The spacing between characters in points
Public propertyClipRectangle
The clip rectangle applied when drawing the object in PDF
(Inherited from PdfDrawableObject.)
Public propertyCropping
Controls is 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
Public propertyDestHeight
The destination rectangle height in points
Public propertyDestWidth
The destination rectangle width in points
Public propertyDestX
The destination rectangle top left corner X coordinate in points
Public propertyDestY
The destination rectangle top left corner Y coordinate in points
Public propertyEmbedSystemFont
Controls if the .NET font given in the constructor should be embedded in the PDF document. By default the font is embedded if necessary
Public propertyForeColor
The PDF object fore color
(Inherited from PdfDrawableObject.)
Public propertyGradient
The PDF object gradient color
(Inherited from PdfDrawableObject.)
Public propertyHorizontalAlign
The horizontal alignment of the text
Public propertyLineSpacing
The spacing between lines in points
Public propertyLineStyle
The style of the lines rendered by this object
(Inherited from PdfDrawableObject.)
Public propertyOpacity
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.)
Public propertyOrder
The text order
Public propertyRise
The text rise in points
Public propertyRotationAngle
The text counter-clockwise rotation angle
Public propertyText
The text to be laid out
Public propertyTextFont
The text PDF font
Public propertyTextSystemFont
The text system font
Public propertyVerticalAlign
The vertical alignment of the text
Public propertyWordSpacing
The spacing between words in points
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetRotationAngle
Sets the clockwise rotation angle of the coordinates system before drawing this object in PDF
(Inherited from PdfDrawableObject.)
Public methodSetScaling
Sets the horizontal and vertical scaling of the coordinates system before drawing this object in PDF
(Inherited from PdfDrawableObject.)
Public methodSetSkewAngles
Sets the clockwise skew angles of the coordinates system before drawing this object in PDF
(Inherited from PdfDrawableObject.)
Public methodSetTextSystemFont
Set the text system font based on font family name and the font size in points
Public methodSetTranslation
Sets the horizontal and vertical translation of the coordinates system before drawing this object in PDF
(Inherited from PdfDrawableObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference