ESRI.ArcGIS.ADF.IMS
UseCentroid Property
See Also 
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > SimpleMarkerSymbol Class : UseCentroid Property




Gets or sets a value to determine whether the symbol is placed at the centroid of a polygon or at all vertices.

Syntax

Visual Basic (Declaration) 
Public Property UseCentroid As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SimpleMarkerSymbol
Dim value As Boolean
 
instance.UseCentroid = value
 
value = instance.UseCentroid
C# 
public bool UseCentroid {get; set;}

Remarks

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.

See Also

© 2010 All Rights Reserved.