ArcObjects Library Reference (Display)  

IStyleGallery.LoadStyle Method

Loads a style from a file. If class is specified, only items in that class will be loaded.

[Visual Basic .NET]
Public Sub LoadStyle ( _
    ByVal fileName As String, _
    ByVal ClassName As String _
)
[C#]
public void LoadStyle (
    string fileName,
    string ClassName
);
[C++]
HRESULT LoadStyle(
  BSTR fileName,
  BSTR ClassName
);
[C++]

Parameters

fileName [in]   fileName is a parameter of type BSTR ClassName [in]   ClassName is a parameter of type BSTR

Product Availability

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

See Also

IStyleGallery Interface