ESRI.ArcGIS.ADF.IMS
UseCentroid Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > RasterMarkerSymbol 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 RasterMarkerSymbol
Dim value As Boolean
 
instance.UseCentroid = value
 
value = instance.UseCentroid
C# 
public bool UseCentroid {get; set;}

Remarks

This property is only used when the RasterMarkerSymbol is applied to polygon layers. When set to false, markers are drawn at all vertices of the polygons. When set to true, a marker is drawn only at the centroid of a polygon feature. When the centroid is used and multiple polygon parts exist in a single feature, the marker falls on the part with the biggest area. This property cannot by used with acetate layers.

Default is False.

This property is ignored by ArcMap Server image services.

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.