
This topic provides information on how to style shapes of geographic series in the UltraGeographicMap™ control.
The following table lists the topics required as a prerequisite to understanding this topic.
This topic contains the following sections:
In the UltraGeographicMap control, shapes are visual elements that represent polygons or polylines in a geographic context. These shapes are defined by a data column mapped to the ShapeMemberPath property of geographic series.
The following types of geographic series support shapes:
The following table summarized properties for styling shape elements in geographic series:
The following is a preview of the UltraGeographicMap with a style applied to shape elements of geographic series.
In Visual Basic:
Dim style = New Style()
style.Fill = New SolidBrush(Color.FromArgb(68, 71, 72))
style.Stroke = New SolidBrush(Color.FromArgb(176, 183, 186))
style.StrokeThickness = 1
Dim geoSeries = New GeographicShapeSeries()
geoSeries.ShapeStyle = style
Me.GeoMap.Series.Add(geoSeries)
In C#:
var style = new Style();
style.Fill = new SolidBrush(Color.FromArgb(68, 71, 72));
style.Stroke = new SolidBrush(Color.FromArgb(176, 183, 186));
style.StrokeThickness = 1;
var geoSeries = new GeographicShapeSeries();
geoSeries.ShapeStyle = style;
this.GeoMap.Series.Add(geoSeries);
The following topics provide additional information related to this topic.