[]
Draw text arguments.
public struct DrawTextArgs
Public Structure DrawTextArgs
Name | Description |
---|---|
DrawTextArgs(Graphics, string, Font, Color, RectangleF) | Creates Draw Text arguments. |
Name | Description |
---|---|
AdjustTop | Adjustment for top |
DrawRectHeight | Height of the drawing rectangle. |
Font | Font of the text. |
ForeColor | Color of the text. |
GetPreferredSizeDirection | The direction where getPreferredSize is executed |
Graphics | Graphics device interface for painting the text. |
HorizontalAlignment | Horizontal alignment settings of the text relative to its bounding rectangle. |
HotkeyPrefix | Hotkey prefix style of the text. |
IsDiagonal | Whether this is for diagonal line |
KeepAlignment | Whether to keep alignment when cell size is small than text size |
Multiline | Whether to allow text to go to multiple lines. |
Rectangle | Bounding rectangle of the text. |
RectangleCell | |
RightToLeft | Whether layout is right-to-left. |
RotationAngle | Rotation angle of the text. |
ShouldAdjustHeight | |
StringTrimming | Trimming effect of the text. |
Text | Text to draw. |
TextIndent | Number of pixels to indent the text. |
TextOrientation | Orientation of the text. |
VerticalAlignment | Vertical alignment settings of the text relative to its bounding rectangle. |
WordWrap | Whether the text is wrapped to multiple lines. |