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


IStyleGallery.ImportStyle 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.ImportStyle Method
ArcGIS Developer Help

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