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 TPDFlib.GetBarcodeWidth(NominalWidth: Double; Const Text: WideString; Barcode: Integer): Double;ActiveX
Function PDFlib::GetBarcodeWidth(NominalWidth As Double, Text As String, Barcode As Long) As DoubleDLL
double DLGetBarcodeWidth(int InstanceID, double NominalWidth, wchar_t * Text, int Barcode);Parameters
| NominalWidth | The desired width of the narrowest bars in the barcode The barcode data |
|---|---|
| Text | 1 = Code39 (or Code 3 of 9) 2 = EAN-13 3 = Code128 4 = PostNet 5 = Interleaved 2 of 5 |
| Barcode |