←Select platform

XModule Property

Summary

Gets or sets a value that indicates the size of the smallest module when writing a PhamraCode barcode.

Syntax
C#
VB
C++
public int XModule { get; set; } 
Public Property XModule As Integer 
public: 
property int XModule { 
   int get(); 
   void set (    int ); 
} 

Property Value

An Int32 that indicates the size of the smallest module when writing a PhamraCode barcode in thousandths of an inch. Must be a value greater than or equal to 0. The default value is 30 (0.03 of an inch).

Remarks

Only used if the value of UseXModule is set to true, otherwise, the module size is calculated from the data size BarcodeData.Bounds).

If the value is too small, a minimum of 2 pixels will be used regardless of the value set in XModule.

For more information, refer to Writing Barcodes - Bounds and XModule.

Example

For an example, refer to PharmaCodeBarcodeWriteOptions.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly