Class MapsAnnotationBuilder
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 MapsAnnotationBuilder : ControlBuilder
Constructors
MapsAnnotationBuilder()
Declaration
public MapsAnnotationBuilder()
MapsAnnotationBuilder(List<MapsAnnotation>)
Declaration
public MapsAnnotationBuilder(List<MapsAnnotation> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<MapsAnnotation> | collection |
Methods
Add()
Declaration
public void Add()
Content(String)
Sets and gets the content for the annotation in maps component.
Declaration
public MapsAnnotationBuilder Content(string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | content |
Returns
Type | Description |
---|---|
MapsAnnotationBuilder |
HorizontalAlignment(AnnotationAlignment)
Sets and gets the annotation element to be aligned horizontally.
Declaration
public MapsAnnotationBuilder HorizontalAlignment(AnnotationAlignment horizontalAlignment)
Parameters
Type | Name | Description |
---|---|---|
AnnotationAlignment | horizontalAlignment |
Returns
Type | Description |
---|---|
MapsAnnotationBuilder |
VerticalAlignment(AnnotationAlignment)
Sets and gets the annotation element to be aligned vertically.
Declaration
public MapsAnnotationBuilder VerticalAlignment(AnnotationAlignment verticalAlignment)
Parameters
Type | Name | Description |
---|---|---|
AnnotationAlignment | verticalAlignment |
Returns
Type | Description |
---|---|
MapsAnnotationBuilder |
X(String)
Sets and gets the x position of the annotation in maps component.
Declaration
public MapsAnnotationBuilder X(string x)
Parameters
Type | Name | Description |
---|---|---|
System.String | x |
Returns
Type | Description |
---|---|
MapsAnnotationBuilder |
Y(String)
Sets and gets the y position of the annotation in maps component.
Declaration
public MapsAnnotationBuilder Y(string y)
Parameters
Type | Name | Description |
---|---|---|
System.String | y |
Returns
Type | Description |
---|---|
MapsAnnotationBuilder |
ZIndex(String)
Sets and gets the z-index of the annotation in maps component.
Declaration
public MapsAnnotationBuilder ZIndex(string zIndex)
Parameters
Type | Name | Description |
---|---|---|
System.String | zIndex |
Returns
Type | Description |
---|---|
MapsAnnotationBuilder |