[]
        
(Showing Draft Content)

FarPoint.Win.Text.DrawTextArgs

DrawTextArgs Struct

Draw text arguments.

Namespace: FarPoint.Win.Text
Assembly: FarPoint.Win.dll
Syntax
public struct DrawTextArgs
Public Structure DrawTextArgs

Constructors

Name Description
DrawTextArgs(Graphics, string, Font, Color, RectangleF)

Creates Draw Text arguments.

Fields

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.