Appearance
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 | |
---|---|
Bold | If 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. |
BoundingBox | The size of the textshape after rotation is applied. |
Brush | The brush that is used to fill this text. (default = Black - SolidBrush) |
CharacterSpacing | Get or set the character spacing. This is the extra spacing (in points) occupied by each character. Default is 0 (no extra spacing). |
DoubleUnderline | Get or set if the text shape is rendered struck out. |
Font | Text is typeset using this font. |
FontSize | Size of font in points. |
Italic | If 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. |
KerningInfo | Gets or sets the kerning info. |
MeasuredHeight | The measured height is the space that will be used when drawing this shape on the page. |
MeasuredWidth | The measured width is the space that will be used when drawing this shape on the page. |
Overline | Get or set if the text shape is rendered with an overline. |
Pen | Used to draw the curves on this text. (default = null) |
ReadDirection | Read direction of this text (left-to-right or right-to-left). |
StrikeOut | Get or set if the text shape is rendered struck out. |
Text | Display this text. |
Underline | Get or set if the text shape is rendered with an underline. |
WordSpacing | Get or set the word spacing. This is the extra spacing (in points) occupied by each space character. Default is 0 (no extra spacing). |