menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class MapsAnnotationBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    MapsAnnotationBuilder
    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)

    Gets or sets the content for the annotation in maps.

    Declaration
    public MapsAnnotationBuilder Content(string content)
    Parameters
    Type Name Description
    System.String content
    Returns
    Type
    MapsAnnotationBuilder

    HorizontalAlignment(AnnotationAlignment)

    Gets or sets the type of the placement when the annotation is to be aligned horizontally.

    Declaration
    public MapsAnnotationBuilder HorizontalAlignment(AnnotationAlignment horizontalAlignment)
    Parameters
    Type Name Description
    AnnotationAlignment horizontalAlignment
    Returns
    Type
    MapsAnnotationBuilder

    VerticalAlignment(AnnotationAlignment)

    Gets or sets the type of the placement when the annotation is to be aligned vertically.

    Declaration
    public MapsAnnotationBuilder VerticalAlignment(AnnotationAlignment verticalAlignment)
    Parameters
    Type Name Description
    AnnotationAlignment verticalAlignment
    Returns
    Type
    MapsAnnotationBuilder

    X(String)

    Gets or sets the x position of the annotation in pixel or percentage format.

    Declaration
    public MapsAnnotationBuilder X(string x)
    Parameters
    Type Name Description
    System.String x
    Returns
    Type
    MapsAnnotationBuilder

    Y(String)

    Gets or sets the y position of the annotation in pixel or percentage format.

    Declaration
    public MapsAnnotationBuilder Y(string y)
    Parameters
    Type Name Description
    System.String y
    Returns
    Type
    MapsAnnotationBuilder

    ZIndex(String)

    Gets or sets the z-index of the annotation in maps.

    Declaration
    public MapsAnnotationBuilder ZIndex(string zIndex)
    Parameters
    Type Name Description
    System.String zIndex
    Returns
    Type
    MapsAnnotationBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved