Class TextDrawInfo
Defines a structure that provides information which is used for drawing the text.
Inheritance
System.Object
TextDrawInfo
Namespace: Syncfusion.Windows.Forms.Edit.Utils
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public sealed class TextDrawInfo : ValueType
Fields
DrawRectangle
Gets the rectangle, where it must be drawn.
Declaration
public Rectangle DrawRectangle
Field Value
| Type |
|---|
| System.Drawing.Rectangle |
DynamicFormattings
Gets the array of the dynamic formatting, applied to the range.
Declaration
public AdditionalFormatting[] DynamicFormattings
Field Value
| Type |
|---|
| AdditionalFormatting[] |
Text
Gets the text, to be drawn.
Declaration
public string Text
Field Value
| Type |
|---|
| System.String |
TextHeight
Gets the height of text itself.
Declaration
public int TextHeight
Field Value
| Type |
|---|
| System.Int32 |
VerticalAlignment
Gets the vertical alignment of the text.
Declaration
public StringAlignment VerticalAlignment
Field Value
| Type |
|---|
| System.Drawing.StringAlignment |