Gets or sets a value indicating the horizontal alignment to use when fitting this barcode inside the destination bounds.
public BarcodeAlignment HorizontalAlignment { get; set; }
Public Property HorizontalAlignment As Leadtools.Barcode.BarcodeAlignment
public Leadtools.Barcode.BarcodeAlignment HorizontalAlignment {get; set;}
@property (nonatomic, assign) LTBarcodeAlignment horizontalAlignment
public BarcodeAlignment getHorizontalAlignment()
public void setHorizontalAlignment(BarcodeAlignment value)
<br/>get_HorizontalAlignment();<br/>set_HorizontalAlignment(value);<br/>Object.defineProperty('HorizontalAlignment');
public:
property Leadtools.Barcode.BarcodeAlignment HorizontalAlignment {
Leadtools.Barcode.BarcodeAlignment get();
void set ( Leadtools.Barcode.BarcodeAlignment );
}
An BarcodeAlignment enumeration member that indicates the horizontal alignment to use when fitting this barcode inside the destination bounds. The default value is BarcodeAlignment.Near.
When writing barcodes, the BarcodeWriter object may not use all 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 is used, an alignment value can set to determine whether the result 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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET