←Select platform

VerticalAlignment Property (PDF417BarcodeWriteOptions)

Summary

Gets or sets a value indicating the vertical alignment to use when fitting this barcode inside the destination bounds.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[DefaultValueAttribute()] 
[DisplayNameAttribute("Vertical alignment")] 
[CategoryAttribute("            Alignment")] 
[DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")] 
public Leadtools.Barcode.BarcodeAlignment VerticalAlignment {get; set;} 
<DefaultValueAttribute()> 
<DisplayNameAttribute("Vertical alignment")> 
<CategoryAttribute("         Alignment")> 
<DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")> 
Public Property VerticalAlignment As Leadtools.Barcode.BarcodeAlignment 
[DefaultValueAttribute()] 
[DisplayNameAttribute("Vertical alignment")] 
[CategoryAttribute("            Alignment")] 
[DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")] 
public Leadtools.Barcode.BarcodeAlignment VerticalAlignment {get; set;} 
@property (nonatomic, assign) LTBarcodeAlignment verticalAlignment 
public BarcodeAlignment getVerticalAlignment() 
public void setVerticalAlignment(BarcodeAlignment value) 
             
DefaultValueAttribute() 
DisplayNameAttribute("Vertical alignment") 
CategoryAttribute("         Alignment") 
DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)") 
  
get_VerticalAlignment(); 
set_VerticalAlignment(value); 
Object.defineProperty('VerticalAlignment');  
[DefaultValueAttribute()] 
[DisplayNameAttribute("Vertical alignment")] 
[CategoryAttribute("            Alignment")] 
[DescriptionAttribute("Vertical alignment for the barcode inside the bounds. Near (Top), Center or Far (Bottom)")] 
public: 
property Leadtools.Barcode.BarcodeAlignment VerticalAlignment { 
   Leadtools.Barcode.BarcodeAlignment get(); 
   void set (    Leadtools.Barcode.BarcodeAlignment ); 
} 

Property Value

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize