menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsFont - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsFont

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    MapsFont
    BubbleTooltipSettingsFont
    DataLabelSettingsTextStyleDataLabelSettings
    LegendSettingsTextStyleLegendSettings
    LegendSettingsTitleStyleLegendSettings
    MarkerClusterSettingsLabelStyleMarkerClusterSettings
    SubTitleSettingsTextStyleSubtitleSettings
    TitleSettingsTextStyleTitleSettings
    TooltipSettingsTextStyleTooltipSettings
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class MapsFont : EJTagHelper

    Constructors

    MapsFont()

    Declaration
    public MapsFont()

    Properties

    Color

    Gets or sets the color for the text in data label, legend and other texts in maps.

    Declaration
    public string Color { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    FontFamily

    Gets or sets the font family of the text in data label, legend and other texts in maps.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    FontStyle

    Gets or sets the style of the text in data label, legend and other texts in maps.

    Declaration
    public string FontStyle { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    FontWeight

    Gets or sets the font weight of the text in data label, legend and other texts in maps.

    Declaration
    public string FontWeight { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Opacity

    Gets or sets the opacity for the text in data label, legend and other texts in maps.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Size

    Gets or sets the size for the text in data label, legend and other texts.

    Declaration
    public string Size { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved