ESRI.ArcGIS.ADF.IMS
UseCentroid Property
See Also  Send Feedback
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.

Requirements

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

See Also

© 2011 All Rights Reserved.