OfficeTextTabStop
OfficeIMO.Drawing
A fixed paragraph tab position, measured before render scaling.
Inheritance
- object
- OfficeTextTabStop
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Method OfficeTextTabStop.WithLeader
- Method OfficeTextTabStop.WithLeaderStyle
- Method OfficeTextTabStop.WithLineLeader
- Property OfficeTextTabStops.Stops
Accepted by parameters 1
- Constructor OfficeTextTabStops.OfficeTextTabStops
Constructors
public OfficeTextTabStop(double position, OfficeTextTabAlignment alignment = Left, string character = ".") #Creates a tab stop. Positions are nonnegative and the character delimiter is one Unicode scalar.
Parameters
- position double
- alignment OfficeIMO.Drawing.OfficeTextTabAlignment = Left
- character string = "."
Methods
public OfficeTextTabStop WithLeader(string? text) #Returns an independent stop with a textual leader; null removes the leader.
Parameters
- text string?
Returns
OfficeTextTabStoppublic OfficeTextTabStop WithLeaderStyle(OfficeTextTabLeaderStyle? style) #Returns an independent stop with textual formatting overrides; null removes the overrides without changing the glyph or line declarations.
Parameters
- style OfficeIMO.Drawing.OfficeTextTabLeaderStyle?
Returns
OfficeTextTabStoppublic OfficeTextTabStop WithLineLeader(OfficeTextTabLineLeader? leader) #Returns an independent stop with line paint; null removes line paint without changing a textual leader.
Parameters
- leader OfficeIMO.Drawing.OfficeTextTabLineLeader?
Returns
OfficeTextTabStopInherited Methods
Properties
public double Position { get; } #Position relative to the tab settings' origin.
public OfficeTextTabAlignment Alignment { get; } #Alignment of content up to the next tab or hard break.
public string? LeaderText { get; private set; } #Optional single Unicode character repeated in the tab gap.
public OfficeTextTabLineLeader? LineLeader { get; private set; } #Optional vector line paint. A declared OfficeTextTabStop.LeaderText takes precedence, including SPACE.
public OfficeTextTabLeaderStyle? LeaderStyle { get; private set; } #Optional overrides for a textual leader; null uses the tab run's formatting.