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


IDataGraphBase.ExportToFile Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataGraphBase Interface > IDataGraphBase.ExportToFile Method
ArcGIS Developer Help

IDataGraphBase.ExportToFile Method

Exports the data graph to a file.

[Visual Basic .NET]
Public Sub ExportToFile ( _
    ByVal Filename As String _
)
[C#]
public void ExportToFile (
    string Filename
);
[C++]
HRESULT ExportToFile(
  BSTR Filename
);
[C++]
Parameters
Filename [in]

Filename is a parameter of type BSTR

Product Availability

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

Remarks

fileName is the only parameter. It supports various export format, including Windows bitmap (.bmp), Encapsulated PostScript (.eps), Graphics Interchange Format (.gif), Joint Photographic Experts Group (.jpg or .jpeg), Windows Metafile (.wmf), Enhanced Windows Metafile (.emf), TeeChart Office Graphic (.tee), PC Paintbrush bitmap (.pcx), Portable Document Format (.pdf), Portable Network Graphics (.png), and Scalable Vector Graphics (.svg).

See Also

IDataGraphBase Interface