[]
Represents an absolute position tab element in a body content.
public class Tab : Text, IBrowsable<Text>
An absolute position tab is a character that is used to advance the position on the current line of text when displaying content, using the following logic:
Regardless of any number of custom tab stops defined using the TabStop, the absolute position tab character shall advance to the position specified by its Alignment and RelativeTo properties.
The resulting end position of the tab character shall not be affected by the addition of any custom tab stops or changes to the value of the DefaultTabStop.If the alignment location specified by the positional tab cannot be found on the current line because the starting location is past that point, then the tab character shall advance to that location on the next available line in the document.
Gets or sets the tab alignment.
public TabAlignment Alignment { get; set; }
An absolute position tab is a character that is used to advance the position on the current line of text when displaying content, using the following logic:
Regardless of any number of custom tab stops defined using the TabStop, the absolute position tab character shall advance to the position specified by its Alignment and RelativeTo properties.
The resulting end position of the tab character shall not be affected by the addition of any custom tab stops or changes to the value of the DefaultTabStop.If the alignment location specified by the positional tab cannot be found on the current line because the starting location is past that point, then the tab character shall advance to that location on the next available line in the document.
Gets or sets the tab leader character.
public TabLeader Leader { get; set; }
An absolute position tab is a character that is used to advance the position on the current line of text when displaying content, using the following logic:
Regardless of any number of custom tab stops defined using the TabStop, the absolute position tab character shall advance to the position specified by its Alignment and RelativeTo properties.
The resulting end position of the tab character shall not be affected by the addition of any custom tab stops or changes to the value of the DefaultTabStop.If the alignment location specified by the positional tab cannot be found on the current line because the starting location is past that point, then the tab character shall advance to that location on the next available line in the document.
Gets or sets the extent to calculate the position of the tab.
public TabRelativeTo RelativeTo { get; set; }
An absolute position tab is a character that is used to advance the position on the current line of text when displaying content, using the following logic:
Regardless of any number of custom tab stops defined using the TabStop, the absolute position tab character shall advance to the position specified by its Alignment and RelativeTo properties.
The resulting end position of the tab character shall not be affected by the addition of any custom tab stops or changes to the value of the DefaultTabStop.If the alignment location specified by the positional tab cannot be found on the current line because the starting location is past that point, then the tab character shall advance to that location on the next available line in the document.
Gets the text representation of the tab.
public override string Value { get; set; }
Set is not supported.
Throws when set is called.
Splitting of a tab is not supported.
public override Text Split(int position)
position
intAn absolute position tab is a character that is used to advance the position on the current line of text when displaying content, using the following logic:
Regardless of any number of custom tab stops defined using the TabStop, the absolute position tab character shall advance to the position specified by its Alignment and RelativeTo properties.
The resulting end position of the tab character shall not be affected by the addition of any custom tab stops or changes to the value of the DefaultTabStop.If the alignment location specified by the positional tab cannot be found on the current line because the starting location is past that point, then the tab character shall advance to that location on the next available line in the document.
Throws always.