This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IE > IExport Interface > IExport.ExportFileName Property (ArcObjects .NET 10.4 SDK) |
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(
BSTR fileName
);
[C++]
Parameters fileName [out, retval] fileName is a parameter of type BSTR fileName [in] fileName is a parameter of type BSTR
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.