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


IStyleGallery.LoadStyle Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IStyleGallery Interface > IStyleGallery.LoadStyle Method
ArcGIS Developer Help

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