Leadtools.Barcode Namespace > PatchCodeBarcodeWriteOptions Class : UseXModule Property |
[DisplayNameAttribute("Use XModule")] [DefaultValueAttribute()] [DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")] [CategoryAttribute(" Size")] public bool UseXModule {get; set;}
'Declaration <DisplayNameAttribute("Use XModule")> <DefaultValueAttribute()> <DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")> <CategoryAttribute(" Size")> Public Property UseXModule As Boolean
'Usage Dim instance As PatchCodeBarcodeWriteOptions Dim value As Boolean instance.UseXModule = value value = instance.UseXModule
[DisplayNameAttribute("Use XModule")] [DefaultValueAttribute()] [DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")] [CategoryAttribute(" Size")] public bool UseXModule {get; set;}
@property (nonatomic, assign) BOOL useXModule;
public boolean getUseXModule() public void setUseXModule(boolean value)
DisplayNameAttribute("Use XModule") DefaultValueAttribute() DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.") CategoryAttribute(" Size")
get_UseXModule();
set_UseXModule(value);
Object.defineProperty('UseXModule');
[DisplayNameAttribute("Use XModule")] [DefaultValueAttribute()] [DescriptionAttribute("If true, use XModule. Otherwise, the size of the barcode will be calculated to fit the bounds.")] [CategoryAttribute(" Size")] 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 PatchCodeBarcodeWriteOptions.