Debenu Quick PDF logo

DrawIntelligentMailBarcode

Vector graphics, Barcodes

Version history

This function was introduced in Quick PDF Library version 8.15.

Description

This function draws a USPS Intelligent Mail (also known as OneCode) barcode onto the page.

Syntax

Delphi

function TDebenuPDFLibrary1511.DrawIntelligentMailBarcode(Left, Top, BarWidth, 
  FullBarHeight, TrackerHeight, SpaceWidth: Double; BarcodeData: WideString; 
  Options: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DrawIntelligentMailBarcode(Left As Double,
  Top As Double, BarWidth As Double, FullBarHeight As Double,
  TrackerHeight As Double, SpaceWidth As Double, BarcodeData As String,
  Options As Long) As Long

DLL

int DPLDrawIntelligentMailBarcode(int InstanceID, double Left, double Top,
  double BarWidth, double FullBarHeight, double TrackerHeight,
  double SpaceWidth, wchar_t * BarcodeData, int Options)

Parameters

Left Horizontal co-ordinate of the left edge of the barcode
Top Vertical co-ordinate of the top edge of the barcode
BarWidth The width of the bars
FullBarHeight The height of a full bar
TrackerHeight The height of a tracker bar
SpaceWidth The width of the spaces between the bars
BarcodeData The barcode data to encode. This should be a 20, 25, 29 or 31 character string containing only the digits 0 to 9. No spaces or any other non-numeric characters will be accepted. The second digit has a maximum value of 4.
Options 0 = Normal
10 = Bar width reduction

Return values

0 The barcode could not be drawn
1 The barcode was drawn successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport