LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

VerticalAlignment Property (QRBarcodeWriteOptions)








Gets or sets a value indicating the vertical alignment to use when fitting this barcode inside the destination bounds. .NET support WinRT support Silverlight support
Syntax
[DefaultValueAttribute()]
[DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")]
[CategoryAttribute("			Alignment")]
[DisplayNameAttribute("Vertical alignment")]
public BarcodeAlignment VerticalAlignment {get; set;}
'Declaration
 
<DefaultValueAttribute()>
<DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")>
<CategoryAttribute("			Alignment")>
<DisplayNameAttribute("Vertical alignment")>
Public Property VerticalAlignment As BarcodeAlignment
'Usage
 
Dim instance As QRBarcodeWriteOptions
Dim value As BarcodeAlignment
 
instance.VerticalAlignment = value
 
value = instance.VerticalAlignment
[DefaultValueAttribute()]
[DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")]
[CategoryAttribute("			Alignment")]
[DisplayNameAttribute("Vertical alignment")]
public BarcodeAlignment VerticalAlignment {get; set;}
ObjectiveC Syntax
Java Syntax
DefaultValueAttribute()
DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")
CategoryAttribute("			Alignment")
DisplayNameAttribute("Vertical alignment")
 get_VerticalAlignment();
set_VerticalAlignment(value);
[DefaultValueAttribute()]
[DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")]
[CategoryAttribute("			Alignment")]
[DisplayNameAttribute("Vertical alignment")]
public:
property BarcodeAlignment VerticalAlignment {
   BarcodeAlignment get();
   void set (    BarcodeAlignment value);
}

Property Value

An BarcodeAlignment enumeration member that indicates the vertical alignment to use when fitting this barcode inside the destination bounds. The default value is BarcodeAlignment.Near.
Remarks

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.

Example

For an example, refer to BarcodeAlignment.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

QRBarcodeWriteOptions Class
QRBarcodeWriteOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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