This document is archived and information here might be outdated.  Recommended version.


ISimpleMarkerSymbol.Style Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

ISimpleMarkerSymbol.Style Property

Marker style.

[Visual Basic .NET]
Public Property Style As esriSimpleMarkerStyle
[C#]
public esriSimpleMarkerStyle Style {get; set;}
[C++]
HRESULT get_Style(
  esriSimpleMarkerStyle* Style
);
[C++]
HRESULT put_Style(
  esriSimpleMarkerStyle Style
);
[C++]

Parameters Style [out, retval]
Style is a parameter of type esriSimpleMarkerStyle Style [in]
Style is a parameter of type esriSimpleMarkerStyle

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Style is the enumeration that controls the pattern used as the marker.  The avaialble line options include: esriSMSCircle, esriSMSCross, esriSMSDiamond, esriSMSSquare and esriSMSX. esriSMSCircle is the default Style.

See Also

ISimpleMarkerSymbol Interface

.NET Snippets

Add Graphic to Map | Create Simple Marker Symbol | Flash Geometry

.NET Samples

Custom UI elements using add-ins (Code Files: AddGraphicsTool) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | GraphicTracker with the map (Code Files: GTMapForm) | ArcGIS Network Analyst extension barrier location editor (Code Files: EditorForm) | Creating a toolbar of globe tools (Code Files: PointElement) | Create a custom tool (Code Files: DrawGraphicLine)

.NET Related Topics

Create a custom tool