Class
OfficeTextTabStops
OfficeIMO.Drawing
Immutable paragraph tab settings shared by SVG, raster and PDF layout.
Inheritance
- object
- OfficeTextTabStops
Usage
Explore 3 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 2
Accepted by parameters 1
Constructors
public OfficeTextTabStops(IReadOnlyList<OfficeTextTabStop> stops, double defaultInterval = 36, double origin = 0) #Creates sorted, unique stops with a repeating default interval after the last explicit stop.
Parameters
- stops System.Collections.Generic.IReadOnlyList<OfficeIMO.Drawing.OfficeTextTabStop>
- At most 256 explicit stops; the collection is copied.
- defaultInterval double = 36
- Positive distance between default stops.
- origin double = 0
- Tab origin relative to the paragraph's inner left margin. May be negative.
Methods
public OfficeTextTabStops WithParagraphAlignment(bool align = true) #Returns independent settings that opt tabbed lines into or out of paragraph alignment.
Parameters
- align bool = true
- True applies paragraph center or right alignment to the entire tabbed line; false keeps the fixed tab grid.
Inherited Methods
Properties
public IReadOnlyList<OfficeTextTabStop> Stops { get; } #Sorted snapshot of explicit stops.
public double DefaultInterval { get; } #Distance between repeating default stops.
public double Origin { get; } #Origin relative to the paragraph's inner left margin.
public bool AlignWithParagraph { get; } #Whether tabbed lines follow the paragraph's center or right alignment. False keeps the fixed tab grid.