API Reference
OfficeTextTabLeaderStyle
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
- Property OfficeTextTabStop.LeaderStyle
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
- Positive absolute font size before drawing scale and frame fitting; null uses fontSizeFactor.
- fontSizeFactor System.Double = 1
- Positive multiplier of the active font size when no absolute size is supplied.
- color System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional complete foreground color, including alpha.
- fontFamily System.String = null
- Optional font family.
- bold System.Nullable{System.Boolean} = null
- Optional bold override.
- italic System.Nullable{System.Boolean} = null
- Optional italic override.
- underlineStyle System.Nullable{OfficeIMO.Drawing.OfficeTextDecorationStyle} = null
- Optional underline override; None removes inherited underline.
- strikethroughStyle System.Nullable{OfficeIMO.Drawing.OfficeTextDecorationStyle} = null
- Optional strike-through override; None removes inherited strike-through.
- baseline System.Nullable{OfficeIMO.Drawing.OfficeTextBaseline} = null
- Optional baseline override.
- backgroundColor System.Nullable{OfficeIMO.Drawing.OfficeColor} = null
- Optional background override; transparent removes inherited background paint.
- inheritOpacity System.Boolean = false
- Use the active run's alpha, including when color overrides its RGB.
- opacity System.Nullable{System.Double} = null
- Optional alpha from zero to one; takes precedence over inherited or color alpha.
Inherited Methods
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.