[]
Represents a tab stop in a TextLayout.
public class TabStop
Initializes a new instance of the TabStop class copying data from an existing instance.
public TabStop(TabStop source)
Initializes a new instance of the TabStop class.
public TabStop(float offset, TabStopAlignment alignment = TabStopAlignment.Leading)
offset
floatThe tab stop position, in graphic units.
alignment
TabStopAlignmentSpecifies how the text is aligned relative to the tab stop.
Initializes a new instance of the TabStop class.
public TabStop(float offset, char separator)
offset
floatThe tab stop position, in graphic units.
separator
charThe separator character (the Alignment property is set to 'SeparatorTab').
If the separator character code exceeds 0xFFFF, use the other constructor and set the Separator property explicitly.
Gets or sets a value specifying how the text is aligned relative to the tab stop.
public TabStopAlignment Alignment { get; set; }
Gets or sets the tab stop position relative to the left/right (for LTR/RTL text) margin, in graphic units.
public float Offset { get; set; }
Gets or sets the separator character in UTF-32 encoding (used when the Alignment property is set to 'SeparatorTab').
public int Separator { get; set; }