Leadtools.Barcode Namespace > QRBarcodeWriteOptions Class : VerticalAlignment Property |
[DisplayNameAttribute("Vertical alignment")] [DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")] [DefaultValueAttribute()] [CategoryAttribute(" Alignment")] public BarcodeAlignment VerticalAlignment {get; set;}
'Declaration <DisplayNameAttribute("Vertical alignment")> <DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")> <DefaultValueAttribute()> <CategoryAttribute(" Alignment")> Public Property VerticalAlignment As BarcodeAlignment
'Usage Dim instance As QRBarcodeWriteOptions Dim value As BarcodeAlignment instance.VerticalAlignment = value value = instance.VerticalAlignment
[DisplayNameAttribute("Vertical alignment")] [DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")] [DefaultValueAttribute()] [CategoryAttribute(" Alignment")] public BarcodeAlignment VerticalAlignment {get; set;}
@property (nonatomic, assign) LTBarcodeAlignment verticalAlignment;
public BarcodeAlignment getVerticalAlignment() public void setVerticalAlignment(BarcodeAlignment value)
DisplayNameAttribute("Vertical alignment") DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)") DefaultValueAttribute() CategoryAttribute(" Alignment")
get_VerticalAlignment();
set_VerticalAlignment(value);
Object.defineProperty('VerticalAlignment');
[DisplayNameAttribute("Vertical alignment")] [DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")] [DefaultValueAttribute()] [CategoryAttribute(" Alignment")] public: property BarcodeAlignment VerticalAlignment { BarcodeAlignment get(); void set ( BarcodeAlignment value); }
When writing barcodes, the BarcodeWriter object may not use all of the area defined by the output rectangle (BarcodeData.Bounds) since not all sizes can be used when writing a barcode and the value of the width and height of the bounds can have a special meaning. For more information, refer to Writing Barcodes - Bounds and XModule.
In cases where not all of the bounds are used, an alignment value can be set to determine whether the resulting barcode is left, top, right, bottom or center aligned to the rectangle. For these, you can use the BarcodeAlignment enumeration to control how the barcode is written.
For an example, refer to BarcodeAlignment.