DrawDataMatrixSymbolA

Vectorafbeeldingen, streepjescodes

Beschrijving

De afsluitende A geeft het ANSI (char)-DLL-entrypoint aan; het ActiveX/COM-oppervlak biedt alleen de Unicode-vorm. Het gedrag is identiek aan DrawDataMatrixSymbol en stringargumenten worden geïnterpreteerd volgens de huidige SetAnsiMode-codepagina

Deze functie tekent een Data Matrix-symbool op de pagina. Data Matrix is een 2D-barcode-symbologie waarmee grote hoeveelheden data kunnen worden opgeslagen

Syntaxis

Delphi

Function DLDrawDataMatrixSymbolA(InstanceID: Integer; Left, Top, ModuleSize: Double; Text: PAnsiChar; Encoding, SymbolSize, Options: Integer): Integer;

DLL

int DLDrawDataMatrixSymbolA(int InstanceID, double Left, double Top, double ModuleSize, const char * Text, int Encoding, int SymbolSize, int Options);

Parameters

LeftDe horizontale coördinaat van de linkerrand van het symbool
TopDe verticale coördinaat van de bovenrand van het symbool
ModuleSizeDeze waarde wordt gebruikt voor de breedte en hoogte van de stippen waaruit het symbool bestaat
TextDe tekst/data die in het symbool wordt opgeslagen
Encoding1 = ASCII-codering. Zie de Data Matrix-specificatie voor details
SymbolSize0 = Automatische grootte 1 = 10x10 2 = 12x12 3 = 8x18 4 = 14x14 5 = 8x32 6 = 16x16 7 = 12x26 8 = 18x18 9 = 20x20 10 = 12x36 11 = 22x22 12 = 16x36 13 = 24x24 14 = 26x26 15 = 16x48 16 = 32x32 17 = 36x36 18 = 40x40 19 = 44x44 20 = 48x48 21 = 52x52 22 = 64x64 23 = 72x72 24 = 80x80 25 = 88x88 26 = 96x96 27 = 104x104 28 = 120x120 29 = 132x132 0 = Normaal 1 = 90 graden tegen de klok in draaien 2 = 180 graden draaien 3 = 90 graden met de klok mee draaien Tel 100 op voor 1 eenheid quiet zone (witte rand) - (standaard) Tel 200 op voor 2 eenheden quiet zone Tel 300 op voor 3 eenheden quiet zone Tel 400 op voor 4 eenheden quiet zone
Options

Retourwaarden

0De parameter Encoding, SymbolSize of Options was ongeldig
1Het Data Matrix-symbool is met succes getekend int SymbolSize, int Options);