[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TabStop

Class TabStop

Namespace
GrapeCity.Documents.Text
Assembly
GcDocs.Imaging.dll

Represents a tab stop in a TextLayout.

public class TabStop
Inheritance
object
TabStop
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

TabStop(TabStop)

Initializes a new instance of the TabStop class copying data from an existing instance.

public TabStop(TabStop source)

Parameters

source TabStop

The source instance of the TabStop class.

TabStop(float, TabStopAlignment)

Initializes a new instance of the TabStop class.

public TabStop(float offset, TabStopAlignment alignment = TabStopAlignment.Leading)

Parameters

offset float

The tab stop position, in graphic units.

alignment TabStopAlignment

Specifies how the text is aligned relative to the tab stop.

TabStop(float, char)

Initializes a new instance of the TabStop class.

public TabStop(float offset, char separator)

Parameters

offset float

The tab stop position, in graphic units.

separator char

The separator character (the Alignment property is set to 'SeparatorTab').

Remarks

If the separator character code exceeds 0xFFFF, use the other constructor and set the Separator property explicitly.

Properties

Alignment

Gets or sets a value specifying how the text is aligned relative to the tab stop.

public TabStopAlignment Alignment { get; set; }

Property Value

TabStopAlignment

Offset

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; }

Property Value

float

Separator

Gets or sets the separator character in UTF-32 encoding (used when the Alignment property is set to 'SeparatorTab').

public int Separator { get; set; }

Property Value

int