This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IStyleGallery Interface > IStyleGallery.LoadStyle Method (ArcObjects .NET 10.4 SDK) |
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