Previous Topic

Next Topic

2D Bar Code Component

See also Report Designer Component Properties for properties common to all components.

2D Bar Code components print 2D bar code types on reports. Accredo supports the 2D bar code types listed below.

2D Bar code components have the following properties:

BarCodeRotation

The degrees to rotate the bar code when displayed. This allows you to print a bar code vertically or horizontally (default). Select from:

  • Rot0
  • Rot90
  • Rot180
  • Rot270

The rotation is dependent on the Alignment property:

  • taLeftJustify - the rotation pivot point is the left top corner.
  • taRightJustify - the rotation pivot point is the right top corner.
  • taCenter - the rotation pivot point is top centre.

BarcodeType

bcCodePDF417

PDF417 black/white rectangles.

bcCodeDataMatrix

DataMatrix black/white rectangles.

bcCodeQR

QR black/white rectangles.

bcCodeAztec

Aztec black/white rectangles.

bcCodeMaxiCode

MaxiCode circles and hexagons.

 

BarWidth

The width of the narrowest bar.

CodePage

Sets the code page used for text conversion.

Use this property to encode non-ASCII characters. For example, set this property to 1251 to use Window CP1251.

DefaultValue 437

Expression

The MaxBasic expression that is evaluated when the report is printed. You can:

  • Type the expression directly in the Expression property
  • Click CodeEdit Open Code Editor (F2) from the Expression property to open the code editor
  • Double-click the 2D bar code component to open the code editor.

ExpressionReadable

Optionally override the MaxBasic expression that is evaluated for readable text when the report is printed and PrintReadable is True.

PrintReadable

When True, readable text will be printed along with the bar code.

QuietZone

Specifies the blank margin around the barcode.

Properties specific for barcode types:

PDF417

 

AspectRatio

Sets the barcode aspect ratio. A ratio of 0.5 will make the barcode width twice as large as the height.

To auto calculate the necessary number of columns and rows, set the Columns and Rows properties to 0. In this case, the AspectRatio property should be set to desired aspect ratio.

Columns

Sets the number of barcode data columns.

Rows

Sets the number of barcode data rows.

ErrorCorrection

Sets the error level correction used for the barcode.

CompactionMode

Sets the compaction mode.

DataMatrix

 

Encoding

Datamatrix Encoding

PixelSize

Integer

SymbolSize

DatamatrixSymbolSize

QR

 

ErrorLevels

TQRErrorLevels

PixelSize

Integer

QREncoding

TQRCodeEncoding

Aztec

 

MinECCPercent

Integer

PixelSize

Integer

MaxiCode

 

Mode

Integer

Note: The component does not have properties AutoWidth or AutoHeight. The barcode adjusts its dimensions to the component height including space for the text if its visible.

See Also

Report Designer Components

Book Contents

Book Index