LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

XModule Property (PatchCodeBarcodeWriteOptions)








Gets or sets a value that indicates the size of the smallest module when writing a Patch Code barcode. .NET support WinRT support Silverlight support
Syntax
[DescriptionAttribute("Size of the smallest module when writing in thousandths 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")]
[DefaultValueAttribute()]
[CategoryAttribute("	Size")]
public int XModule {get; set;}
'Declaration
 
<DescriptionAttribute("Size of the smallest module when writing in thousandths 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")>
<DefaultValueAttribute()>
<CategoryAttribute("	Size")>
Public Property XModule As Integer
'Usage
 
Dim instance As PatchCodeBarcodeWriteOptions
Dim value As Integer
 
instance.XModule = value
 
value = instance.XModule
[DescriptionAttribute("Size of the smallest module when writing in thousandths 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")]
[DefaultValueAttribute()]
[CategoryAttribute("	Size")]
public int XModule {get; set;}
ObjectiveC Syntax
Java Syntax
DescriptionAttribute("Size of the smallest module when writing in thousandths 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")
DefaultValueAttribute()
CategoryAttribute("	Size")
 get_XModule();
set_XModule(value);
[DescriptionAttribute("Size of the smallest module when writing in thousandths 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")]
[DefaultValueAttribute()]
[CategoryAttribute("	Size")]
public:
property int XModule {
   int get();
   void set (    int value);
}

Property Value

An System.Int32 that indicates the size of the smallest module when writing a Patch Code barcode in a 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 PatchCodeBarcodeWriteOptions.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PatchCodeBarcodeWriteOptions Class
PatchCodeBarcodeWriteOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features