Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace > OneDBarcodeWriteOptions Class : UseXModule Property |
[DefaultValueAttribute()] [DisplayNameAttribute("Use XModule")] [CategoryAttribute(" Size")] [DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")] public bool UseXModule {get; set;}
'Declaration
<DefaultValueAttribute()> <DisplayNameAttribute("Use XModule")> <CategoryAttribute(" Size")> <DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")> Public Property UseXModule As Boolean
'Usage
Dim instance As OneDBarcodeWriteOptions Dim value As Boolean instance.UseXModule = value value = instance.UseXModule
[DefaultValueAttribute()] [DisplayNameAttribute("Use XModule")] [CategoryAttribute(" Size")] [DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")] public bool UseXModule {get; set;}
@property (nonatomic, assign) BOOL useXModule
public boolean getUseXModule() public void setUseXModule(boolean value)
DefaultValueAttribute() DisplayNameAttribute("Use XModule") CategoryAttribute(" Size") DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.") <br/>get_UseXModule();<br/>set_UseXModule(value);<br/>Object.defineProperty('UseXModule');
[DefaultValueAttribute()] [DisplayNameAttribute("Use XModule")] [CategoryAttribute(" Size")] [DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")] public: property bool UseXModule { bool get(); void set ( bool value); }
When the value of UseXModule is set to false, then the smallest module size is calculated from the size of the barcode data (BarcodeData.Bounds).
When the value of UseXModule is set to true, then the smallest module size is set in XModule and the barcode data size may be used as a "clipping" boundary.
For more information, refer to Writing Barcodes - Bounds and XModule.
For an example, refer to OneDBarcodeWriteOptions.