DrawQRCode
Graphiques vectoriels, codes-barres
Description
Trace un QR Code sur la page sélectionnée
Syntaxe
Delphi
Function TPDFlib.DrawQRCode(Left, Top, SymbolSize: Double; Const Text: WideString; EncodeOptions, DrawOptions: Integer): Integer;
ActiveX
Function PDFlib::DrawQRCode(Left As Double, Top As Double, SymbolSize As Double, Text As String, EncodeOptions As Long, DrawOptions As Long) As Long
DLL
int DLDrawQRCode(int InstanceID, double Left, double Top, double SymbolSize, const wchar_t * Text, int EncodeOptions, int DrawOptions);
Paramètres
| Left | Coordonnée horizontale du bord gauche du QR Code |
|---|---|
| Top | Coordonnée verticale du bord supérieur du QR Code |
| SymbolSize | Largeur et hauteur du QR Code Texte à encoder dans le QR Code |
| Text | |
| EncodeOptions | 0=Auto 1=Numeric 2=Alphanumeric 3=ISO-8859-1 4=UTF-8 avec BOM 5=UTF-8 sans BOM 0 = Normal 1 = Rotation antihoraire de 90 degrés 2 = Rotation de 180 degrés 3 = Rotation horaire de 90 degrés |
| DrawOptions |
Valeurs de retour
| 0 | Le code QR n'a pas pu être tracé Vérifiez si les paramètres EncodeOptions ou DrawOptions contiennent une valeur hors limites |
|---|---|
| 1 | Le QR Code a été tracé |