[]
Creates a new TabPosition object, initializes it with the specified tab stop position, and adds it to the current collection.
public int Add(Unit tabPosition)
Type | Name | Description |
---|---|---|
Unit | tabPosition | The position of the tab stop relative to the left edge of the text area. |
Type | Description |
---|---|
int | The index of the added TabPosition object in the current collection. |
Creates a new TabPosition object, initializes it with the specified tab stop position and text alignment, and adds it to the current collection.
public int Add(Unit tabPosition, TabAlignmentEnum tabAlignment)
Type | Name | Description |
---|---|---|
Unit | tabPosition | The position of the tab stop relative to the left edge of the text area. |
TabAlignmentEnum | tabAlignment | The text alignment at the specified tab stop. |
Type | Description |
---|---|
int | The index of the added TabPosition object in the current collection. |
Creates a new TabPosition object, initializes it with the specified tab stop position, text alignment and fill char, and adds it to the current collection.
public int Add(Unit tabPosition, TabAlignmentEnum tabAlignment, char fillChar)
Type | Name | Description |
---|---|---|
Unit | tabPosition | The position of the tab stop relative to the left edge of the text area. |
TabAlignmentEnum | tabAlignment | The text alignment at the specified tab stop. |
char | fillChar | The fill char between the preceding and the added tab stop. |
Type | Description |
---|---|
int | The index of the added TabPosition object in the current collection. |
Adds a TabPosition object to the current collection.
public int Add(TabPosition tabPosition)
Type | Name | Description |
---|---|---|
TabPosition | tabPosition | The object to add. |
Type | Description |
---|---|
int | The index of |