SaveMode Property
- Namespace
TXTextControl.DataVisualization
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Determines whether the chart's image is stored through its binary data or through a file reference. By default a chart's image is stored with its binary data.
Syntax
public ImageSaveMode SaveMode { get; set; }Public Property SaveMode As ImageSaveModeMembers
| Value | Description |
|---|---|
| Auto | The image is saved as specified with the SaveSettings.ImageSaveMode property. |
| SaveAsData | The image is saved in a Text Control document with its complete binary data. |
| SaveAsFileReference | The image is saved in a Text Control document through a file reference. The technical article Loading and Saving Images describes where newly created image files are stored. |
Examples
The following example uses ChartFrame.SaveMode to control how the chart frame is stored during document export. The change is then applied to the active document or user interface.
chartFrame.SaveMode = ImageSaveMode.Auto;
chartFrame.Refresh();chartFrame.SaveMode = ImageSaveMode.Auto
chartFrame.Refresh()