OfficeTextTabLeaderStyle
OfficeIMO.Drawing
Immutable text-style overrides for a textual tab leader. Unspecified properties inherit the tab run.
Inheritance
- object
- OfficeTextTabLeaderStyle
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
- Property OfficeTextTabStop.LeaderStyle
Accepted by parameters 1
Constructors
public OfficeTextTabLeaderStyle(OfficeLength? fontSize = null, double fontSizeFactor = 1, OfficeColor? color = null, string? fontFamily = null, bool? bold = null, bool? italic = null, OfficeTextDecorationStyle? underlineStyle = null, OfficeTextDecorationStyle? strikethroughStyle = null, OfficeTextBaseline? baseline = null, OfficeColor? backgroundColor = null, bool inheritOpacity = false, double? opacity = null) #Creates a leader style using an absolute font size or a multiplier of the active tab run's size.
Parameters
- fontSize OfficeIMO.OfficeLength? = null
- Positive absolute font size before drawing scale and frame fitting; null uses fontSizeFactor.
- fontSizeFactor double = 1
- Positive multiplier of the active font size when no absolute size is supplied.
- color OfficeIMO.OfficeColor? = null
- Optional complete foreground color, including alpha.
- fontFamily string? = null
- Optional font family.
- bold bool? = null
- Optional bold override.
- italic bool? = null
- Optional italic override.
- underlineStyle OfficeIMO.Drawing.OfficeTextDecorationStyle? = null
- Optional underline override; None removes inherited underline.
- strikethroughStyle OfficeIMO.Drawing.OfficeTextDecorationStyle? = null
- Optional strike-through override; None removes inherited strike-through.
- baseline OfficeIMO.Drawing.OfficeTextBaseline? = null
- Optional baseline override.
- backgroundColor OfficeIMO.OfficeColor? = null
- Optional background override; transparent removes inherited background paint.
- inheritOpacity bool = false
- Use the active run's alpha, including when color overrides its RGB.
- opacity double? = null
- Optional alpha from zero to one; takes precedence over inherited or color alpha.
Inherited Methods
Properties
public OfficeLength? FontSize { 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 OfficeColor? Color { get; } #Foreground override; alpha follows OfficeTextTabLeaderStyle.Opacity and OfficeTextTabLeaderStyle.InheritOpacity when supplied.
public string? FontFamily { get; } #Font family override, or null to inherit.
public OfficeTextDecorationStyle? UnderlineStyle { get; } #Underline override, or null to inherit.
public OfficeTextDecorationStyle? StrikethroughStyle { get; } #Strike-through override, or null to inherit.
public OfficeTextBaseline? Baseline { get; } #Baseline override, or null to inherit.
public OfficeColor? BackgroundColor { get; } #Background override, or null to inherit.
public bool InheritOpacity { get; } #Whether the active run's alpha is retained when no opacity override is supplied.
public double? Opacity { get; } #Independent alpha override from zero to one, or null.