menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsFontBuilder - API Reference

    Show / Hide Table of Contents

    Class MapsFontBuilder

    Inheritance
    System.Object
    ControlBuilder
    MapsFontBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class MapsFontBuilder : ControlBuilder

    Constructors

    MapsFontBuilder()

    Declaration
    public MapsFontBuilder()

    MapsFontBuilder(MapsFont)

    Declaration
    public MapsFontBuilder(MapsFont model)
    Parameters
    Type Name Description
    MapsFont model

    Methods

    Color(String)

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

    Declaration
    public MapsFontBuilder Color(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    MapsFontBuilder

    FontFamily(String)

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

    Declaration
    public MapsFontBuilder FontFamily(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    MapsFontBuilder

    FontStyle(String)

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

    Declaration
    public MapsFontBuilder FontStyle(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    MapsFontBuilder

    FontWeight(String)

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

    Declaration
    public MapsFontBuilder FontWeight(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    MapsFontBuilder

    Opacity(Double)

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

    Declaration
    public MapsFontBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    MapsFontBuilder

    Size(String)

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

    Declaration
    public MapsFontBuilder Size(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    MapsFontBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved