GetBarcodeWidth
Διανυσματικά γραφικά, διάταξη σελίδας
Περιγραφή
Επιστρέφει το συνολικό πλάτος ενός γραμμωτού κώδικα με βάση το πλάτος των μικρότερων ράβδων του
Σύνταξη
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 Double
DLL
double DLGetBarcodeWidth(int InstanceID, double NominalWidth, const wchar_t * Text, int Barcode);
Παράμετροι
| NominalWidth | Το ζητούμενο πλάτος των στενότερων γραμμών στο barcode Τα δεδομένα barcode |
|---|---|
| Text | 1 = Code39 (ή Code 3 of 9) 2 = EAN-13 3 = Code128 4 = PostNet 5 = Interleaved 2 of 5 |
| Barcode |