←Select platform

XModule Property (GS1DatabarStackedBarcodeWriteOptions)

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[CategoryAttribute(" Size")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("Size of the smallest module when writing in thousands of an inch (0.001). If the value is too small, a minimum of 2 pixels will be used. Must be a value greater than or equal to 0")] 
[DisplayNameAttribute("XModule")] 
public int XModule {get; set;} 
<CategoryAttribute("  Size")> 
<DefaultValueAttribute()> 
<DescriptionAttribute("Size of the smallest module when writing in thousands of an inch (0.001). If the value is too small, a minimum of 2 pixels will be used. Must be a value greater than or equal to 0")> 
<DisplayNameAttribute("XModule")> 
Public Property XModule As Integer 
[CategoryAttribute(" Size")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("Size of the smallest module when writing in thousands of an inch (0.001). If the value is too small, a minimum of 2 pixels will be used. Must be a value greater than or equal to 0")] 
[DisplayNameAttribute("XModule")] 
public int XModule {get; set;} 
@property (nonatomic, assign) NSInteger xModule 
public int getXModule() 
public void setXModule(int value) 
             
CategoryAttribute("  Size") 
DefaultValueAttribute() 
DescriptionAttribute("Size of the smallest module when writing in thousands of an inch (0.001). If the value is too small, a minimum of 2 pixels will be used. Must be a value greater than or equal to 0") 
DisplayNameAttribute("XModule") 
  
get_XModule(); 
set_XModule(value); 
Object.defineProperty('XModule');  
[CategoryAttribute(" Size")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("Size of the smallest module when writing in thousands of an inch (0.001). If the value is too small, a minimum of 2 pixels will be used. Must be a value greater than or equal to 0")] 
[DisplayNameAttribute("XModule")] 
public: 
property int XModule { 
   int get(); 
   void set (    int ); 
} 

Property Value

An Int32 that indicates the size of the smallest module when writing a GS1 Databar Stacked barcode in thousandths of an inch. Must be a value greater to or equal to 0. 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 GS1DatabarStackedBarcodeWriteOptions.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize