Leadtools.Barcode Namespace > OneDBarcodeWriteOptions Class : UseXModule Property |
[DisplayNameAttribute("Use XModule")] [CategoryAttribute(" Size")] [DefaultValueAttribute()] [DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")] public bool UseXModule {get; set;}
'Declaration <DisplayNameAttribute("Use XModule")> <CategoryAttribute(" Size")> <DefaultValueAttribute()> <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
[DisplayNameAttribute("Use XModule")] [CategoryAttribute(" Size")] [DefaultValueAttribute()] [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)
DisplayNameAttribute("Use XModule") CategoryAttribute(" Size") DefaultValueAttribute() DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")
get_UseXModule();
set_UseXModule(value);
Object.defineProperty('UseXModule');
[DisplayNameAttribute("Use XModule")] [CategoryAttribute(" Size")] [DefaultValueAttribute()] [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.