[]
        
(Showing Draft Content)

C1.C1Preview.TabPosition

TabPosition Class

Represents a tab stop in a text in a C1PrintDocument. To set a tab stop, add it to the TabPositions collection on the text or paragraph.

Inheritance
TabPosition
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
[C1ClassSerialization(true)]
public class TabPosition

Constructors

Name Description
TabPosition(Unit)

Initializes a new instance of the TabPosition class, at the specified position, with the default (Left) text alignment.

TabPosition(Unit, TabAlignmentEnum)

Initializes a new instance of the TabPosition class, at the specified position and with the specified text alignment.

TabPosition(Unit, TabAlignmentEnum, char)

Initializes a new instance of the TabPosition class, at the specified position and with the specified text alignment and fill character.

Properties

Name Description
Alignment

Gets or sets the text alignment at the current tab.

FillChar

Gets or sets the char used to fill the space between the current and the preceding tabs.

Position

Gets or sets the tab stop position, relative to the left of the text area.

Methods

Name Description
AssignFrom(TabPosition)

Assigns (copies) properties from another TabPosition to the current object.