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


IDataGraphBase.ExportToFile Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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

.NET Related Topics

How to change label formats and marks on an axis using a line graph | How to create a 3D pie graph | How to create a box plot graph | How to create a function series graph | How to create a graph template | How to create a histogram graph | How to create a selection set using a scatter plot graph | How to create a vertical stack area graph | How to create graph series with different color types | How to create multiple vertical bar graphs | How to group data into separate lines on a line graph | How to sort data in the graph