alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class FontOptions

    Defines the font styling options used for SVG text elements in chart components.

    Inheritance
    object
    FontOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.DataVizCommon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FontOptions

    Constructors

    FontOptions()

    Declaration
    public FontOptions()

    Properties

    Color

    Gets or sets the color of the font. Accepts a valid CSS color string (hex or rgba).

    Declaration
    public string Color { get; set; }
    Property Value
    Type
    string

    FontFamily

    Gets or sets the font family for the text element.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type
    string

    FontStyle

    Gets or sets the font style (e.g., "normal", "italic", "oblique").

    Declaration
    public string FontStyle { get; set; }
    Property Value
    Type
    string

    FontWeight

    Gets or sets the font weight (e.g., "normal", "bold", "600").

    Declaration
    public string FontWeight { get; set; }
    Property Value
    Type
    string

    Size

    Gets or sets the size of the font (e.g., "12px", "1rem").

    Declaration
    public string Size { get; set; }
    Property Value
    Type
    string
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved