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


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

IStyleGallery.SaveStyle Method

Saves the specified style to a file. If class is specified, only items in that class will be saved.

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

fileName is a parameter of type BSTR styleSet [in]
styleSet 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