←Select platform

BarcodeWritePdf Class

Summary

Obsolete: This class contains information for writing PDF417/MicroPDF417 barcodes.

Syntax

C#
VB
C++
public class BarcodeWritePdf  
Public Class BarcodeWritePdf  
public ref class BarcodeWritePdf  

Remarks

A PDF417 barcode size is dependent on the following values:

  • Number of Columns
  • Number of Rows
  • X Module Size
  • Module Aspect Ratio

To calculate barcode Width use the following equation: Width= ((Number of Columns * 17) + 73) * (X Module Size) This includes the Quiet Zone, Indicators, Start and Stop patterns. To calculate barcode Height use the following equation: Height=(Number of Rows + 4) * (X Module Size) * (Module Aspect Ratio) The 4 added to Number of Rows is to account for the Quiet Zone. If the number of columns and rows are not specified the default behavior is to find the minimum number of columns that the data requires to fit in its rows.

The Quiet Zone for a barcode is a minimum required white space before the start of the barcode symbols. The purpose is to delineate non-barcode information from the barcode data to prevent a reader from picking up information that doesn't pertain to the barcode. For a PDF417 the Quiet Zone is 2 Modules on each side.

AspectHeight and AspectWidth properties are needed in special case when the number of barcode codewords equal to 4 (i.e. small barcodes).

If there isn't a valid row column combination available to fit the encoded data or if the number of the specified columns and rows cannot fit the data. The function will return "Function Not Successful".

For a table containing information useful when writing PDF417 barcode data see https://www.leadtools.com/sdk/barcode/pdf417-chart.

MicroPDF417 may only be printed in certain defined combinations of rows and columns. Possible values are (wColumns x wRows) and maximum capacity are displayed in the table below:

  • 0 x 0 (Default)
  • 1 x 11
  • 1 x 14
  • 1 x 17
  • 1 x 20
  • 1 x 24
  • 1 x 28
  • 2 x 8
  • 2 x 11
  • 2 x 14
  • 2 x 17
  • 2 x 20
  • 2 x 23
  • 2 x 26
  • 3 x 6
  • 3 x 8
  • 3 x 10
  • 3 x 12
  • 3 x 15
  • 3 x 20
  • 3 x 26
  • 3 x 32
  • 3 x 38
  • 3 x 44
  • 4 x 4
  • 4 x 6
  • 4 x 8
  • 4 x 10
  • 4 x 12
  • 4 x 15
  • 4 x 20
  • 4 x 26
  • 4 x 32
  • 4 x 38
  • 4 x 44
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly