TextLayoutParams Constructor
In This Topic
Initialize new instance of
TextLayoutParams class.
Syntax
'Declaration
Public Function New( _
Optional ByVal As TextAlignment, _
Optional ByVal As VerticalTextAlignment, _
Optional ByVal As TextJustify, _
Optional ByVal As WrapMode, _
Optional ByVal As Boolean, _
Optional ByVal As Single, _
Optional ByVal As Single, _
Optional ByVal As Boolean, _
Optional ByVal As Single, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean _
)
public TextLayoutParams(
TextAlignment ,
VerticalTextAlignment ,
TextJustify ,
WrapMode ,
bool ,
float ,
float ,
bool ,
float ,
bool ,
bool
)
Parameters
- horizontalAlignment
- Text alignment
- verticalAlignment
- Lines alignment
- textJustify
- Justification algorithm
- wrapMode
- Line breaking wrap mode
- enableKinsoku
- Force Kinsoku rules
- characterSpacing
- Character spacing in points.
- lineSpacing
- Line spacing in points.
- isRtl
- Text direction.
- textAngle
- Text rotation in angels * 10.
- isVertical
- Vertical glyphs are allowed or not.
- multiLine
- Multiline is allowed or not.
See Also