Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeTextTabStop

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
7fbbd72e7c5a with working tree changes
Modifiers
sealed

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.

Accepted by parameters 1

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 required
alignment OfficeIMO.Drawing.OfficeTextTabAlignment = Left optional
character string = "." optional

Methods

public OfficeTextTabStop WithLeader(string? text) #

Returns an independent stop with a textual leader; null removes the leader.

Parameters

text string? required
public 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? required
public 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? required

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 Character { get; } #

Delimiter for character alignment.

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.