ArcObjects Library Reference (Controls)  

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 Desktop is installed

Remarks

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


 ~ esriStyleClassReferenceSystems
 ~ esriStyleClassMaplexLabels
 ~ esriStyleClassVectorizationSettings
 ~ esriStyleClassHatches

See Also

ISymbologyControlDefault Interface