![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
UseCentroid Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > SimpleMarkerSymbol Class : UseCentroid Property |
Visual Basic (Declaration) | |
---|---|
Public Property UseCentroid As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As SimpleMarkerSymbol Dim value As Boolean instance.UseCentroid = value value = instance.UseCentroid |
C# | |
---|---|
public bool UseCentroid {get; set;} |
Used only when rendering polygon layers with a SimpleMarkerSymbol. When set to false, a marker symbol used on polygon layers draws markers at all polygon vertices. When set to true, a marker is placed in the centroid of the polygon.
When the centroid is used and multiple polygon parts exist, the marker falls on the part with the biggest area.
This property cannot be used with acetate layers.
This property is ignored for ArcMap Server image services.
Default is True.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family