TextStyleOverride
ChartForgeX.Typography
Defines optional overrides that can be resolved over a complete TextStyle.
Inheritance
- object
- TextStyleOverride
Usage
Explore 202 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 69
- Property VisualCanvasHeroTitleLayer.TextStyle
- Property VisualCanvasTextLayer.TextStyle
- Property ChartGrid.SubtitleStyle
- Property ChartGrid.TitleStyle
- Method ChartOptions.GetTextStyle
- Property ChartOptions.AxisTitleStyle
- Property ChartOptions.DataLabelStyle
- Property ChartOptions.LegendStyle
- Property ChartOptions.SubtitleStyle
- Property ChartOptions.TickLabelStyle
- Property ChartOptions.TitleStyle
- Property ChartSeries.DataLabelStyle
- Property ChartSeries.PointDataLabelStyles
- Property ChartSunburstOptions.SecondaryLabelStyle
- Property ChartValueLabelOptions.Style
- Property VisualSeriesDefaults.DataLabelStyle
- Property TopologyEdge.TextStyle
- Property TopologyGroup.TextStyle
- Property TopologyNode.CaptionTextStyle
- Property TopologyNode.SubtitleTextStyle
- Property TopologyNode.TextStyle
- Property TopologyNodeDetail.TextStyle
- Extension method TextStyleOverride.Baseline
- Extension method TextStyleOverride.Color
- Extension method TextStyleOverride.ColorPaletteIndex
- Extension method TextStyleOverride.FontFamily
- Extension method TextStyleOverride.FontSize
- Extension method TextStyleOverride.FontWeight
- Extension method TextStyleOverride.Italic
- Extension method TextStyleOverride.LetterSpacing
- Extension method TextStyleOverride.OpenTypeLanguageTag
- Extension method TextStyleOverride.Strikethrough
- Extension method TextStyleOverride.StrikethroughStyle
- Extension method TextStyleOverride.TextCase
- Extension method TextStyleOverride.Underline
- Extension method TextStyleOverride.UnderlineStyle
- Extension method TextStyleOverride.Variations
- Method TextStyleOverride.Clone
- Method TextStyleOverride.Variation
- Method TextStyleOverrideFluent.Baseline
- Method TextStyleOverrideFluent.Color
- Method TextStyleOverrideFluent.ColorPaletteIndex
- Method TextStyleOverrideFluent.FontFamily
- Method TextStyleOverrideFluent.FontSize
- Method TextStyleOverrideFluent.FontWeight
- Method TextStyleOverrideFluent.Italic
- Method TextStyleOverrideFluent.LetterSpacing
- Method TextStyleOverrideFluent.OpenTypeLanguageTag
- Method TextStyleOverrideFluent.Strikethrough
- Method TextStyleOverrideFluent.StrikethroughStyle
- Method TextStyleOverrideFluent.TextCase
- Method TextStyleOverrideFluent.Underline
- Method TextStyleOverrideFluent.UnderlineStyle
- Method TextStyleOverrideFluent.Variations
- Property SequenceTypography.Fragment
- Property SequenceTypography.Message
- Property SequenceTypography.Note
- Property SequenceTypography.Number
- Property SequenceTypography.Participant
- Property VisualArtifactInterchangeDetail.TextStyle
- Property VisualArtifactInterchangeTopologyEdge.TextStyle
- Property VisualArtifactInterchangeTopologyGroup.TextStyle
- Property VisualArtifactInterchangeTopologyNode.CaptionTextStyle
- Property VisualArtifactInterchangeTopologyNode.SubtitleTextStyle
- Property VisualArtifactInterchangeTopologyNode.TextStyle
- Property VisualArtifactInterchangeWaterfallArtifact.SeriesDataLabelStyle
- Property VisualArtifactInterchangeWaterfallArtifact.TextStyles
- Property VisualArtifactInterchangeWaterfallPoint.TextStyle
- Property BlockLayoutItem.TextStyle
Accepted by parameters 133
- Extension method Chart.AxisTitleStyle
- Extension method Chart.AxisTitleStyle
- Extension method Chart.DataLabelStyle
- Extension method Chart.DataLabelStyle
- Extension method Chart.LegendStyle
- Extension method Chart.LegendStyle
- Extension method Chart.SubtitleStyle
- Extension method Chart.SubtitleStyle
- Extension method Chart.TickLabelStyle
- Extension method Chart.TickLabelStyle
- Extension method Chart.TitleStyle
- Extension method Chart.TitleStyle
- Method Chart.TextStyle
- Method ChartFluent.AxisTitleStyle
- Method ChartFluent.AxisTitleStyle
- Method ChartFluent.DataLabelStyle
- Method ChartFluent.DataLabelStyle
- Method ChartFluent.LegendStyle
- Method ChartFluent.LegendStyle
- Method ChartFluent.SubtitleStyle
- Method ChartFluent.SubtitleStyle
- Method ChartFluent.TickLabelStyle
- Method ChartFluent.TickLabelStyle
- Method ChartFluent.TitleStyle
- Method ChartFluent.TitleStyle
- Extension method ChartGrid.SubtitleStyle
- Extension method ChartGrid.SubtitleStyle
- Extension method ChartGrid.TitleStyle
- Extension method ChartGrid.TitleStyle
- Method ChartGridFluent.SubtitleStyle
- Method ChartGridFluent.SubtitleStyle
- Method ChartGridFluent.TitleStyle
- Method ChartGridFluent.TitleStyle
- Extension method ChartOptions.AxisTitleStyle
- Extension method ChartOptions.AxisTitleStyle
- Extension method ChartOptions.DataLabelStyle
- Extension method ChartOptions.DataLabelStyle
- Extension method ChartOptions.LegendStyle
- Extension method ChartOptions.LegendStyle
- Extension method ChartOptions.SubtitleStyle
- Extension method ChartOptions.SubtitleStyle
- Extension method ChartOptions.TickLabelStyle
- Extension method ChartOptions.TickLabelStyle
- Extension method ChartOptions.TitleStyle
- Extension method ChartOptions.TitleStyle
- Method ChartOptionsFluent.AxisTitleStyle
- Method ChartOptionsFluent.AxisTitleStyle
- Method ChartOptionsFluent.DataLabelStyle
- Method ChartOptionsFluent.DataLabelStyle
- Method ChartOptionsFluent.LegendStyle
- Method ChartOptionsFluent.LegendStyle
- Method ChartOptionsFluent.SubtitleStyle
- Method ChartOptionsFluent.SubtitleStyle
- Method ChartOptionsFluent.TickLabelStyle
- Method ChartOptionsFluent.TickLabelStyle
- Method ChartOptionsFluent.TitleStyle
- Method ChartOptionsFluent.TitleStyle
- Extension method ChartSeries.DataLabelStyle
- Extension method ChartSeries.DataLabelStyle
- Extension method ChartSeries.PointDataLabelStyle
- Extension method ChartSeries.PointDataLabelStyle
- Extension method ChartSeries.PointDataLabelStyles
- Method ChartSeries.PointDataLabelStyle
- Method ChartSeriesFluent.DataLabelStyle
- Method ChartSeriesFluent.DataLabelStyle
- Method ChartSeriesFluent.PointDataLabelStyle
- Method ChartSeriesFluent.PointDataLabelStyle
- Method ChartSeriesFluent.PointDataLabelStyles
- Extension method ChartSunburstOptions.SecondaryLabelStyle
- Method ChartSunburstOptionsFluent.SecondaryLabelStyle
- Extension method ChartValueLabelOptions.Style
- Method ChartValueLabelOptionsFluent.Style
- Extension method VisualSeriesDefaults.DataLabelStyle
- Method VisualSeriesDefaultsFluent.DataLabelStyle
- Extension method TopologyEdge.TextStyle
- Extension method TopologyEdge.TextStyle
- Method TopologyEdgeFluent.TextStyle
- Method TopologyEdgeFluent.TextStyle
- Extension method TopologyGroup.TextStyle
- Extension method TopologyGroup.TextStyle
- Method TopologyGroupFluent.TextStyle
- Method TopologyGroupFluent.TextStyle
- Extension method TopologyNode.CaptionTextStyle
- Extension method TopologyNode.CaptionTextStyle
- Extension method TopologyNode.SubtitleTextStyle
- Extension method TopologyNode.SubtitleTextStyle
- Extension method TopologyNode.TextStyle
- Extension method TopologyNode.TextStyle
- Extension method TopologyNodeDetail.TextStyle
- Extension method TopologyNodeDetail.TextStyle
- Method TopologyNodeDetailFluent.TextStyle
- Method TopologyNodeDetailFluent.TextStyle
- Method TopologyNodeFluent.CaptionTextStyle
- Method TopologyNodeFluent.CaptionTextStyle
- Method TopologyNodeFluent.SubtitleTextStyle
- Method TopologyNodeFluent.SubtitleTextStyle
- Method TopologyNodeFluent.TextStyle
- Method TopologyNodeFluent.TextStyle
- Extension method TextStyleOverride.Baseline
- Extension method TextStyleOverride.Color
- Extension method TextStyleOverride.ColorPaletteIndex
- Extension method TextStyleOverride.FontFamily
- Extension method TextStyleOverride.FontSize
- Extension method TextStyleOverride.FontWeight
- Extension method TextStyleOverride.Italic
- Extension method TextStyleOverride.LetterSpacing
- Extension method TextStyleOverride.OpenTypeLanguageTag
- Extension method TextStyleOverride.Strikethrough
- Extension method TextStyleOverride.StrikethroughStyle
- Extension method TextStyleOverride.TextCase
- Extension method TextStyleOverride.Underline
- Extension method TextStyleOverride.UnderlineStyle
- Extension method TextStyleOverride.Variations
- Method TextStyleOverrideFluent.Baseline
- Method TextStyleOverrideFluent.Color
- Method TextStyleOverrideFluent.ColorPaletteIndex
- Method TextStyleOverrideFluent.FontFamily
- Method TextStyleOverrideFluent.FontSize
- Method TextStyleOverrideFluent.FontWeight
- Method TextStyleOverrideFluent.Italic
- Method TextStyleOverrideFluent.LetterSpacing
- Method TextStyleOverrideFluent.OpenTypeLanguageTag
- Method TextStyleOverrideFluent.Strikethrough
- Method TextStyleOverrideFluent.StrikethroughStyle
- Method TextStyleOverrideFluent.TextCase
- Method TextStyleOverrideFluent.Underline
- Method TextStyleOverrideFluent.UnderlineStyle
- Method TextStyleOverrideFluent.Variations
- Constructor SequenceTypography.SequenceTypography
- Constructor SequenceTypography.SequenceTypography
- Constructor SequenceTypography.SequenceTypography
- Constructor SequenceTypography.SequenceTypography
- Constructor SequenceTypography.SequenceTypography
Constructors
public TextStyleOverride() #Methods
public TextStyleOverride Clone() #Creates an independent copy of the optional typography values.
Returns
TextStyleOverridepublic TextStyle Resolve(TextStyle fallback) #Resolves these overrides over a complete text style without mutating the fallback.
Parameters
- fallback ChartForgeX.Typography.TextStyle
Returns
TextStylepublic string TransformText(string text, CultureInfo? culture = null) #Transforms text according to this override.
Parameters
- text string
- culture System.Globalization.CultureInfo? = null
Returns
stringpublic TextStyleOverride Variation(string tag, double value) #Sets one OpenType variation axis in design units.
Parameters
- tag string
- value double
Returns
TextStyleOverrideInherited Methods
Properties
public int? ColorPaletteIndex { get; set; } #Gets or sets an optional zero-based CPAL palette. Null inherits; zero resets to the default.
public FontVariationSettings? Variations { get; set; } #Gets or sets explicit OpenType axes. Null inherits; Default restores the font's default instance.
public ChartColor? Color { get; set; } #Gets or sets the optional text color override.
public string? FontFamily { get; set; } #Gets or sets the optional CSS font-family override.
public int? FontWeight { get; set; } #Gets or sets the optional font weight, from 1 to 1000; 400 is regular and 700 bold.
public string? OpenTypeLanguageTag { get; set; } #Gets or sets the optional OpenType language-system tag, such as SRB or TRK. A null override retains the fallback style's language; normal selects the font's default.
public double? FontSize { get; set; } #Gets or sets the optional font size override.
public double? LetterSpacing { get; set; } #Gets or sets additional logical pixels between eligible shaped groups. Null inherits; zero resets spacing.
public bool Italic { get; set; } #Gets or sets a value indicating whether text is italic.
public bool Underline { get; set; } #Gets or sets a value indicating whether text is underlined. Turning it on selects a single underline unless a style is already set; turning it off selects none.
public TextDecorationStyle? UnderlineStyle { get; set; } #Gets or sets an optional underline pattern. None explicitly disables a fallback underline; null clears the underline override so the fallback applies.
public bool Strikethrough { get; set; } #Gets or sets whether text is struck through. Turning it on selects a single strikethrough unless a style is already set; turning it off selects none.
public TextDecorationStyle? StrikethroughStyle { get; set; } #Gets or sets an optional strikethrough pattern. None explicitly disables a fallback strike; null clears the strikethrough override so the fallback applies.
public TextBaseline? Baseline { get; set; } #Gets or sets optional subscript or superscript placement.
public TextCaseTransform? TextCase { get; set; } #Gets or sets an optional display-time casing transform.
public bool HasOverrides { get; } #Gets a value indicating whether this instance contains explicit overrides.
Extension Methods
public static TextStyleOverride Baseline(TextStyleOverride textStyleOverride, TextBaseline? value) #Sets TextStyleOverride.Baseline: Gets or sets optional subscript or superscript placement.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value ChartForgeX.Typography.TextBaseline?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { Baseline = value }; textStyleOverride.Baseline(value);public static TextStyleOverride Color(TextStyleOverride textStyleOverride, ChartColor? value) #Sets TextStyleOverride.Color: Gets or sets the optional text color override.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value ChartForgeX.Primitives.ChartColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { Color = value }; textStyleOverride.Color(value);public static TextStyleOverride ColorPaletteIndex(TextStyleOverride textStyleOverride, int? value) #Sets TextStyleOverride.ColorPaletteIndex: Gets or sets an optional zero-based CPAL palette. Null inherits; zero resets to the default.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { ColorPaletteIndex = value }; textStyleOverride.ColorPaletteIndex(value);public static TextStyleOverride FontFamily(TextStyleOverride textStyleOverride, string? value) #Sets TextStyleOverride.FontFamily: Gets or sets the optional CSS font-family override.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { FontFamily = value }; textStyleOverride.FontFamily(value);public static TextStyleOverride FontSize(TextStyleOverride textStyleOverride, double? value) #Sets TextStyleOverride.FontSize: Gets or sets the optional font size override.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { FontSize = value }; textStyleOverride.FontSize(value);public static TextStyleOverride FontWeight(TextStyleOverride textStyleOverride, int? value) #Sets TextStyleOverride.FontWeight: Gets or sets the optional font weight, from 1 to 1000; 400 is regular and 700 bold.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { FontWeight = value }; textStyleOverride.FontWeight(value);public static TextStyleOverride Italic(TextStyleOverride textStyleOverride, bool value = true) #Sets TextStyleOverride.Italic: Gets or sets a value indicating whether text is italic.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { Italic = value }; textStyleOverride.Italic(value);public static TextStyleOverride LetterSpacing(TextStyleOverride textStyleOverride, double? value) #Sets TextStyleOverride.LetterSpacing: Gets or sets additional logical pixels between eligible shaped groups. Null inherits; zero resets spacing.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { LetterSpacing = value }; textStyleOverride.LetterSpacing(value);public static TextStyleOverride OpenTypeLanguageTag(TextStyleOverride textStyleOverride, string? value) #Sets TextStyleOverride.OpenTypeLanguageTag: Gets or sets the optional OpenType language-system tag, such as SRB or TRK. A null override retains the fallback style's language; normal selects the font's default.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { OpenTypeLanguageTag = value }; textStyleOverride.OpenTypeLanguageTag(value);public static TextStyleOverride Strikethrough(TextStyleOverride textStyleOverride, bool value = true) #Sets TextStyleOverride.Strikethrough: Gets or sets whether text is struck through. Turning it on selects a single strikethrough unless a style is already set; turning it off selects none.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { Strikethrough = value }; textStyleOverride.Strikethrough(value);public static TextStyleOverride StrikethroughStyle(TextStyleOverride textStyleOverride, TextDecorationStyle? value) #Sets TextStyleOverride.StrikethroughStyle: Gets or sets an optional strikethrough pattern. None explicitly disables a fallback strike; null clears the strikethrough override so the fallback applies.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value ChartForgeX.Typography.TextDecorationStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { StrikethroughStyle = value }; textStyleOverride.StrikethroughStyle(value);public static TextStyleOverride TextCase(TextStyleOverride textStyleOverride, TextCaseTransform? value) #Sets TextStyleOverride.TextCase: Gets or sets an optional display-time casing transform.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value ChartForgeX.Typography.TextCaseTransform?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { TextCase = value }; textStyleOverride.TextCase(value);public static TextStyleOverride Underline(TextStyleOverride textStyleOverride, bool value = true) #Sets TextStyleOverride.Underline: Gets or sets a value indicating whether text is underlined. Turning it on selects a single underline unless a style is already set; turning it off selects none.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { Underline = value }; textStyleOverride.Underline(value);public static TextStyleOverride UnderlineStyle(TextStyleOverride textStyleOverride, TextDecorationStyle? value) #Sets TextStyleOverride.UnderlineStyle: Gets or sets an optional underline pattern. None explicitly disables a fallback underline; null clears the underline override so the fallback applies.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value ChartForgeX.Typography.TextDecorationStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { UnderlineStyle = value }; textStyleOverride.UnderlineStyle(value);public static TextStyleOverride Variations(TextStyleOverride textStyleOverride, FontVariationSettings? value) #Sets TextStyleOverride.Variations: Gets or sets explicit OpenType axes. Null inherits; Default restores the font's default instance.
Parameters
- textStyleOverride ChartForgeX.Typography.TextStyleOverride
- The instance.
- value ChartForgeX.Typography.FontVariationSettings?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Typography.TextStyleOverride { Variations = value }; textStyleOverride.Variations(value);