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


ISymbologyControl.GetStyleClass Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

ISymbologyControl.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,
  ISymbologyStyleClass** SymbologyStyleClass
);
[C++]

Parameters StyleClass [in]
StyleClass is a parameter of type esriSymbologyStyleClass SymbologyStyleClass [out, retval]
SymbologyStyleClass is a parameter of type ISymbologyStyleClass

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

ISymbologyControl Interface