Back to Devexpress

MapItemType Enum

windowsforms-devexpress-dot-xtramap-c2a14639.md

latest2.2 KB
Original Source

MapItemType Enum

Lists the types of a map item.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public enum MapItemType : byte
vb
Public Enum MapItemType As Byte

Members

NameDescription
Unknown

Represents an unknown map item type.

| | Dot |

Represents a map dot.

| | Ellipse |

Represents a map ellipse.

| | Line |

Represents a map line.

| | Path |

Represents a map path.

| | Polygon |

Represents a map polygon.

| | Polyline |

Represents a map polyline.

| | Rectangle |

Represents a map rectangle.

| | Pushpin |

Represents a map pushpin.

| | Custom |

Represents a map custom element.

| | Callout |

Represents a map callout.

| | Bubble |

Represents a Bubble chart.

| | Pie |

Represents a Pie chart.

| | Spline |

Represents a map spline.

|

The following properties accept/return MapItemType values:

Remarks

Use this enumeration’s members to specify the type of the map item. This enumeration’s values are used as an argument of the IMapItemFactory.CreateMapItem method.

When you map the MapItemMappingInfo.Type property to the data field, use the field of the int type. The MapItemType members are enumerated as follows:

  • Unknown = 0,
  • Dot = 1,
  • Ellipse = 2,
  • Line = 3,
  • Path = 4,
  • Polygon = 5,
  • Polyline = 6,
  • Rectangle = 7,
  • Pushpin = 8,
  • Custom = 9,
  • Callout = 10

See Also

DevExpress.XtraMap Namespace