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


ISymbologyControlDefault.GetStyleClass Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControlDefault Interface > ISymbologyControlDefault.GetStyleClass Method
ArcGIS Developer Help

ISymbologyControlDefault.GetStyleClass Method

Returns the specified style class from the SymbologyControl.

[Visual Basic .NET]
Public Function GetStyleClass ( _
    ByVal StyleClass As esriSymbologyStyleClass _
) As ISymbologyStyleClass
[C#]
public ISymbologyStyleClass GetStyleClass (
    esriSymbologyStyleClass StyleClass
);
[C++]
HRESULT GetStyleClass(
  esriSymbologyStyleClass StyleClass
);
[C++]
Parameters
StyleClass [in]

StyleClass is a parameter of type esriSymbologyStyleClass

Product Availability

Available with ArcGIS Engine.

Description

Returns the specified SymbologyStyleClass from the SymbologyControl.

Errors Returned

1005 800a03ed: The value of a parameter, which is an enumerated constant is out of the range of required values.


1083 800a043b: The specified style class is supported only if ArcGIS for Desktop is installed.

Remarks

The following style classes are only supported with an ArcGIS for Desktop installation:


 ~ esriStyleClassReferenceSystems
 ~ esriStyleClassMaplexLabels
 ~ esriStyleClassVectorizationSettings
 ~ esriStyleClassHatches

See Also

ISymbologyControlDefault Interface