This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataGraphBase Interface > IDataGraphBase.ExportToFile Method (ArcObjects .NET 10.5 SDK) |
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
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).