Debenu 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 TDebenuPDFLibrary1511.GetBarcodeWidth(NominalWidth: Double; 
  Text: WideString; Barcode: Integer): Double;

ActiveX

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

DLL

double DPLGetBarcodeWidth(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 © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport