Property: Alignment

Alignment AlignConstants

Alignment sets the alignment (on the left, on the right, centered) of the barcode. You can pass AlignLeft, AlignCenter or AlignRight.

Examples:
AlignLeft
AlignLeft

AlignCenter
AlignCenter

AlignRight
AlignRight


Declaration of 'AlignConstants':
type
  AlignConstants = TOleEnum;
const
  ALIGNLEFT = $00000000;
  ALIGNCENTER = $00000001;
  ALIGNRIGHT = $00000002;

Code examples

Visual Basic:
AxBarcode1.Alignment = BARCODELib.AlignConstants.ALIGNCENTER
Delphi:
Barcode1.Alignment := AlignLeft;
C#:
axBarcode1.Alignment = BARCODELib.AlignConstants.ALIGNCENTER;
VBA (Office):
Barcode1.Alignment = ALIGNCENTER