Quick PDF logo

GetBarcodeWidth

Vector graphics, Page layout

Description

Returns the total width of a barcode based on the width of the smallest bars in the barcode.

Syntax

Delphi

function TQuickPDF0813.GetBarcodeWidth(NominalWidth: Double; Text: WideString; 
  Barcode: Integer): Double;

ActiveX

Function QuickPDF0813.PDFLibrary::GetBarcodeWidth(NominalWidth As Double,
  Text As String, Barcode As Long) As Double

DLL

double QuickPDFGetBarcodeWidth(int InstanceID, double NominalWidth, wchar_t * Text,
  int Barcode)

Parameters

NominalWidth The desired width of the narrowest bars in the barcode
Text The barcode data
Barcode 1 = Code39 (or Code 3 of 9)
2 = EAN-13
3 = Code128
4 = PostNet
5 = Interleaved 2 of 5

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum