TX Text Control .NET for Windows Forms

SaveMode Property

Property|Introduced in 19.0
Namespace
TXTextControl.DataVisualization
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Determines whether the barcode's image is stored through its binary data or through a file reference. By default a barcode'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 BarcodeFrame.SaveMode to control how the barcode frame is stored during document export. The change is then applied to the active document or user interface.

barcodeFrame.SaveMode = ImageSaveMode.Auto;
barcodeFrame.Refresh();