TX Text Control .NET for Windows Forms

Size Property

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

Description

Gets or sets the size of the barcode.

Syntax

public Size Size { get; set; }

Examples

The following example uses TXBarcodeCore.Size to configure size as part of the txbarcode core workflow. The configured value is checked before the workflow continues.

tXBarcodeCore.Size = new System.Drawing.Size(600, 400);
Console.WriteLine($"Size used by TXBarcode Core: {tXBarcodeCore.Size}");