DrawRMQRCodeA
Small Business, barcodes
Requires the Small Business edition. In Delphi, C++Builder and Lazarus code create the library as TPDFlibSmallBusiness (unit PDFlibSmallBusiness) or TPDFlibEnterprise; the Small Business and Enterprise DLL and ActiveX builds provide it unchanged. The Single edition keeps the method, which returns 0 and sets LastErrorCode to 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)
Description
Draws a rectangular Micro QR Code using the professional encoder runtime
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to DrawRMQRCode and string arguments are interpreted using the current SetAnsiMode code page
Syntax
Delphi
Function DLDrawRMQRCodeA(InstanceID: Integer; Left: Double; Top: Double; Width: Double; Height: Double; Text: PAnsiChar; ECLevel: Integer; Version: Integer): Integer;
DLL
int DLDrawRMQRCodeA(int InstanceID, double Left, double Top, double Width, double Height, const char* Text, int ECLevel, int Version);
ECLevel is 0 for M or 1 for H; Version is 0 for automatic sizing or 1 through 32 for a fixed rectangular size; the backend rejects data that does not fit
The selected symbol is fitted proportionally within the box in the current measurement units; the caller chooses the position and size
PDF.DrawRMQRCode(50, 700, 180, 50, 'Shipment 12345', 0, 0);
Returns 1 on success or 0 on failure; Professional barcodes describes edition requirements, deployment and errors