ArcObjects Library Reference (Display)  

IStyleGallery.ImportStyle Method

Imports a style from a file other than a .style file.

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

Parameters

fileName [in]   fileName is a parameter of type BSTR

Product Availability

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

See Also

IStyleGallery Interface