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


IExport.ExportFileName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IE > IExport Interface > IExport.ExportFileName Property
ArcGIS Developer Help

IExport.ExportFileName Property

The Export File Name.

[Visual Basic .NET]
Public Property ExportFileName As String
[C#]
public string ExportFileName {get; set;}
[C++]
HRESULT get_ExportFileName(
  BSTR fileName
);
[C++]
HRESULT put_ExportFileName(
  System.String* fileName
);
[C++]
Parameters
fileName [in]

fileName is a parameter of type BSTR fileName [out, retval]
fileName is a parameter of type BSTR*

Product Availability

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

Remarks

You must assign a value to the ExportFileName property before calling the IExport::StartExporting() method.  There are two exceptions to this.  If IExport is controlling a ExportBMP or ExportEMF object, you can assign an empty string to the ExportFileName property without an error being raised on StartExporting().  This is to allow cases where the application will use the export object as a intermediate container for a drawing, and won't be written to an export file.

See Also

IExport Interface

.NET Samples

Export active view