Class MapsFontBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
MapsFontBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Maps
Assembly: Syncfusion.AspNetMvc.Maps.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 |
|---|
| 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 |
|---|
| 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 |
|---|
| 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 |
|---|
| 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 |
|---|
| 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 |
|---|
| MapsFontBuilder |