GetBarcodeWidthA
Grafica vettoriale, layout di pagina
Descrizione
Il suffisso A indica l'entry point DLL ANSI (char); l'interfaccia ActiveX/COM espone soltanto la forma Unicode. Il comportamento è identico a GetBarcodeWidth e gli argomenti stringa vengono interpretati usando la code page corrente di SetAnsiMode
Restituisce la larghezza totale di un codice a barre in base alla larghezza delle barre più piccole
Sintassi
Delphi
Function DLGetBarcodeWidthA(InstanceID: Integer; NominalWidth: Double; Text: PAnsiChar; Barcode: Integer): Double;
DLL
double DLGetBarcodeWidthA(int InstanceID, double NominalWidth, const char * Text, int Barcode);
Parametri
| NominalWidth | La larghezza desiderata delle barre più sottili del codice a barre I dati del codice a barre |
|---|---|
| Text | 1 = Code39 (o Code 3 of 9) 2 = EAN-13 3 = Code128 4 = PostNet 5 = Interleaved 2 of 5 |
| Barcode |