Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeTextTabStop

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

A fixed paragraph tab position, measured before render scaling.

Inheritance

  • Object
  • OfficeTextTabStop

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

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 System.Double requiredposition: 0
alignment OfficeIMO.Drawing.OfficeTextTabAlignment = Left optionalposition: 1
character System.String = "." optionalposition: 2

Methods

public OfficeTextTabStop WithLeader(String text) #
Returns: OfficeTextTabStop

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

Parameters

text System.String requiredposition: 0
public OfficeTextTabStop WithLeaderStyle(OfficeTextTabLeaderStyle style) #
Returns: OfficeTextTabStop

Returns an independent stop with textual formatting overrides; null removes the overrides without changing the glyph or line declarations.

Parameters

style OfficeIMO.Drawing.OfficeTextTabLeaderStyle requiredposition: 0
public OfficeTextTabStop WithLineLeader(OfficeTextTabLineLeader leader) #
Returns: OfficeTextTabStop

Returns an independent stop with line paint; null removes line paint without changing a textual leader.

Parameters

leader OfficeIMO.Drawing.OfficeTextTabLineLeader requiredposition: 0

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 LeaderText takes precedence, including SPACE.

public OfficeTextTabLeaderStyle LeaderStyle { get; private set; } #

Optional overrides for a textual leader; null uses the tab run's formatting.