Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeTextTabLeaderStyle

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Immutable text-style overrides for a textual tab leader. Unspecified properties inherit the tab run.

Inheritance

  • Object
  • OfficeTextTabLeaderStyle

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 OfficeTextTabLeaderStyle(Nullable<Double> fontSizePoints = null, Double fontSizeFactor = 1, Nullable<OfficeColor> color = null, String fontFamily = null, Nullable<Boolean> bold = null, Nullable<Boolean> italic = null, Nullable<OfficeTextDecorationStyle> underlineStyle = null, Nullable<OfficeTextDecorationStyle> strikethroughStyle = null, Nullable<OfficeTextBaseline> baseline = null, Nullable<OfficeColor> backgroundColor = null, Boolean inheritOpacity = false, Nullable<Double> opacity = null) #

Creates a leader style using an absolute font size or a multiplier of the active tab run's size.

Parameters

fontSizePoints System.Nullable{System.Double} = null optionalposition: 0
Positive absolute font size before drawing scale and frame fitting; null uses fontSizeFactor.
fontSizeFactor System.Double = 1 optionalposition: 1
Positive multiplier of the active font size when no absolute size is supplied.
color System.Nullable{OfficeIMO.Drawing.OfficeColor} = null optionalposition: 2
Optional complete foreground color, including alpha.
fontFamily System.String = null optionalposition: 3
Optional font family.
bold System.Nullable{System.Boolean} = null optionalposition: 4
Optional bold override.
italic System.Nullable{System.Boolean} = null optionalposition: 5
Optional italic override.
underlineStyle System.Nullable{OfficeIMO.Drawing.OfficeTextDecorationStyle} = null optionalposition: 6
Optional underline override; None removes inherited underline.
strikethroughStyle System.Nullable{OfficeIMO.Drawing.OfficeTextDecorationStyle} = null optionalposition: 7
Optional strike-through override; None removes inherited strike-through.
baseline System.Nullable{OfficeIMO.Drawing.OfficeTextBaseline} = null optionalposition: 8
Optional baseline override.
backgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null optionalposition: 9
Optional background override; transparent removes inherited background paint.
inheritOpacity System.Boolean = false optionalposition: 10
Use the active run's alpha, including when color overrides its RGB.
opacity System.Nullable{System.Double} = null optionalposition: 11
Optional alpha from zero to one; takes precedence over inherited or color alpha.

Properties

public Nullable<Double> FontSizePoints { get; } #

Absolute font size before drawing scale and frame fitting, or null for a relative size.

public Double FontSizeFactor { get; } #

Multiplier of the active tab run's font size when no absolute size is supplied.

public Nullable<OfficeColor> Color { get; } #

Foreground override; alpha follows Opacity and InheritOpacity when supplied.

public String FontFamily { get; } #

Font family override, or null to inherit.

public Nullable<Boolean> Bold { get; } #

Bold override, or null to inherit.

public Nullable<Boolean> Italic { get; } #

Italic override, or null to inherit.

public Nullable<OfficeTextDecorationStyle> UnderlineStyle { get; } #

Underline override, or null to inherit.

public Nullable<OfficeTextDecorationStyle> StrikethroughStyle { get; } #

Strike-through override, or null to inherit.

public Nullable<OfficeTextBaseline> Baseline { get; } #

Baseline override, or null to inherit.

public Nullable<OfficeColor> BackgroundColor { get; } #

Background override, or null to inherit.

public Boolean InheritOpacity { get; } #

Whether the active run's alpha is retained when no opacity override is supplied.

public Nullable<Double> Opacity { get; } #

Independent alpha override from zero to one, or null.