Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeTextTabLineLeader

OfficeIMO.Drawing

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

Immutable vector paint settings for a tab leader.

Inheritance

  • object
  • OfficeTextTabLineLeader

Usage

Explore 2 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 1

Accepted by parameters 1

Constructors

public OfficeTextTabLineLeader(OfficeTextTabLineLeaderStyle style = Solid, bool doubleLine = false, OfficeLength? width = null, double widthFontFraction = 0.05, OfficeColor? color = null) #

Creates line paint with an absolute width or a fraction of the active rendered font size.

Parameters

style OfficeIMO.Drawing.OfficeTextTabLineLeaderStyle = Solid optional
Pattern drawn within the gap.
doubleLine bool = false optional
Draw two parallel copies of the pattern.
width OfficeIMO.OfficeLength? = null optional
Positive absolute width before drawing scale; null uses widthFontFraction.
widthFontFraction double = 0.05 optional
Positive fraction of the active rendered font size; the default is 0.05.
color OfficeIMO.OfficeColor? = null optional
Paint color; null uses the tab's active text color.

Properties

public OfficeTextTabLineLeaderStyle Style { get; } #

Pattern drawn in the gap.

public bool DoubleLine { get; } #

Whether two parallel copies are drawn.

public OfficeLength? Width { get; } #

Absolute width before drawing scale, or null for a font-relative width.

public double WidthFontFraction { get; } #

Width as a fraction of the active rendered font size when no absolute width is supplied.

public OfficeColor? Color { get; } #

Explicit paint color, or null for the active text color.