Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeTextTabLineLeader

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Immutable vector paint settings for a tab leader.

Inheritance

  • Object
  • OfficeTextTabLineLeader

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

public OfficeTextTabLineLeader(OfficeTextTabLineLeaderStyle style = Solid, Boolean doubleLine = false, Nullable<Double> widthPoints = null, Double widthFontFraction = 0.05, Nullable<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 optionalposition: 0
Pattern drawn within the gap.
doubleLine System.Boolean = false optionalposition: 1
Draw two parallel copies of the pattern.
widthPoints System.Nullable{System.Double} = null optionalposition: 2
Positive absolute width before drawing scale; null uses widthFontFraction.
widthFontFraction System.Double = 0.05 optionalposition: 3
Positive fraction of the active rendered font size; the default is 0.05.
color System.Nullable{OfficeIMO.Drawing.OfficeColor} = null optionalposition: 4
Paint color; null uses the tab's active text color.

Properties

public OfficeTextTabLineLeaderStyle Style { get; } #

Pattern drawn in the gap.

public Boolean DoubleLine { get; } #

Whether two parallel copies are drawn.

public Nullable<Double> WidthPoints { 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 Nullable<OfficeColor> Color { get; } #

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