Class MapsFont
Inheritance
System.Object
MapsFont
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
[HtmlAttributeName("color")]
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 | Description |
---|---|
MvcTemplate<System.Object> |
FontFamily
Gets or sets the font family of the text in data label, legend and other texts in maps.
Declaration
[HtmlAttributeName("fontFamily")]
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
[HtmlAttributeName("fontStyle")]
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
[HtmlAttributeName("fontWeight")]
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
[HtmlAttributeName("opacity")]
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
[HtmlAttributeName("size")]
public string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |