ExportFileName Property
- Namespace
TXTextControl.DataVisualization
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets or sets the file name, when the chart's image is exported. An empty string indicates that no export filename has currently be specified for the chart's image. In this case a constructed filename is used. A filename is constructed in the following form: <document_filename>_<number>.<extension>. The technical article Loading and Saving Images describes where newly created image files are stored.
Syntax
public string ExportFileName { get; set; }Public Property ExportFileName As StringExamples
The following example uses ChartFrame.ExportFileName to choose where the chart frame is exported. The change is then applied to the active document or user interface.
chartFrame.ExportFileName = "document.docx";
chartFrame.Refresh();chartFrame.ExportFileName = "document.docx"
chartFrame.Refresh()