LEADTOOLS Barcode (Leadtools.Barcode assembly)

HorizontalAlignment Property (PDF417BarcodeWriteOptions)

Show in webframe







Gets or sets a value indicating the horizontal alignment to use when fitting this barcode inside the destination bounds.
Syntax
[CategoryAttribute("			Alignment")]
[DisplayNameAttribute("Horizontal alignment")]
[DefaultValueAttribute()]
[DescriptionAttribute("Horizontal alignment for the barcode inside the bounds. Near (Left), Center or Far (Right)")]
public BarcodeAlignment HorizontalAlignment {get; set;}
'Declaration
 
<CategoryAttribute("			Alignment")>
<DisplayNameAttribute("Horizontal alignment")>
<DefaultValueAttribute()>
<DescriptionAttribute("Horizontal alignment for the barcode inside the bounds. Near (Left), Center or Far (Right)")>
Public Property HorizontalAlignment As BarcodeAlignment
'Usage
 
Dim instance As PDF417BarcodeWriteOptions
Dim value As BarcodeAlignment
 
instance.HorizontalAlignment = value
 
value = instance.HorizontalAlignment
[CategoryAttribute("			Alignment")]
[DisplayNameAttribute("Horizontal alignment")]
[DefaultValueAttribute()]
[DescriptionAttribute("Horizontal alignment for the barcode inside the bounds. Near (Left), Center or Far (Right)")]
public BarcodeAlignment HorizontalAlignment {get; set;}
@property (nonatomic, assign) LTBarcodeAlignment horizontalAlignment;
public BarcodeAlignment getHorizontalAlignment()
public void setHorizontalAlignment(BarcodeAlignment value)
            
CategoryAttribute("			Alignment")
DisplayNameAttribute("Horizontal alignment")
DefaultValueAttribute()
DescriptionAttribute("Horizontal alignment for the barcode inside the bounds. Near (Left), Center or Far (Right)")
 
get_HorizontalAlignment();
set_HorizontalAlignment(value);
Object.defineProperty('HorizontalAlignment');
[CategoryAttribute("			Alignment")]
[DisplayNameAttribute("Horizontal alignment")]
[DefaultValueAttribute()]
[DescriptionAttribute("Horizontal alignment for the barcode inside the bounds. Near (Left), Center or Far (Right)")]
public:
property BarcodeAlignment HorizontalAlignment {
   BarcodeAlignment get();
   void set (    BarcodeAlignment value);
}

Property Value

A BarcodeAlignment enumeration member that indicating the horizontal alignment to use when fitting this barcode inside the destination bounds. Default value is BarcodeAlignment.Near.
Remarks

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 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.

Example

For an example, refer to BarcodeAlignment.

Requirements

Target Platforms

See Also

Reference

PDF417BarcodeWriteOptions Class
PDF417BarcodeWriteOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features