TX Text Control .NET Server

SaveMode Property

Property|Introduced in 23.0
Namespace
TXTextControl.DataVisualization
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as 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; }

Members

ValueDescription
AutoThe image is saved as specified with the SaveSettings.ImageSaveMode property.
SaveAsDataThe image is saved in a Text Control document with its complete binary data.
SaveAsFileReferenceThe 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();