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

See Also

© 2010 All Rights Reserved.