Skip to content

TallComponents.UnoPdf.Client

TallComponents.UnoPdf.Client.Models.Pdf.Shapes

TextShapeModel Class

Create an empty text shape.

csharp
public class TextShapeModel : TallComponents.UnoPdf.Client.Models.Pdf.Shapes.ContentShapeModel

Inheritance System.Object 🡒 ShapeModel 🡒 ContentShapeModel 🡒 TextShapeModel

Properties
BoldIf set, the text appears bold. Note that the boldness is simulated by using a thicker stroke.
It is preferable to use a bold font if possible. E.g. use arialbd.ttf for bold Arial and arial.ttf for
regular Arial. This property is ignored if applied to a Bold font.
BoundingBoxThe size of the textshape after rotation is applied.
BrushThe brush that is used to fill this text. (default = Black - SolidBrush)
CharacterSpacingGet or set the character spacing. This is the extra spacing (in points) occupied by each character. Default is 0 (no extra spacing).
DoubleUnderlineGet or set if the text shape is rendered struck out.
FontText is typeset using this font.
FontSizeSize of font in points.
ItalicIf set, the text appears italic. Note that the italicization is simulated by skewing the text slightly.
It is preferable to use an italic font if possible. E.g. use ariali.ttf for italic Arial and arial.ttf for
regular Arial. This property is ignored if applied to an Italic font.
KerningInfoGets or sets the kerning info.
MeasuredHeightThe measured height is the space that will be used when drawing this shape on the page.
MeasuredWidthThe measured width is the space that will be used when drawing this shape on the page.
OverlineGet or set if the text shape is rendered with an overline.
PenUsed to draw the curves on this text. (default = null)
ReadDirectionRead direction of this text (left-to-right or right-to-left).
StrikeOutGet or set if the text shape is rendered struck out.
TextDisplay this text.
UnderlineGet or set if the text shape is rendered with an underline.
WordSpacingGet or set the word spacing. This is the extra spacing (in points) occupied by each space character. Default is 0 (no extra spacing).