SaveMode 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
Determines whether the drawing's bitmap image is stored through its binary data or through a file reference. By default a drawing'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 DrawingFrame.SaveMode to control how the drawing frame is stored during document export. The change is then applied to the active document or user interface.
drawingFrame.SaveMode = ImageSaveMode.Auto;
drawingFrame.Refresh();drawingFrame.SaveMode = ImageSaveMode.Auto
drawingFrame.Refresh()