THPDFPage.DrawQRCode Method

Provides draw qrcode behaviour for the page drawing workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Deklarace

function DrawQRCode(const Data: AnsiString; X, Y: Single; ModuleSize: Single= 2; ECLevel: THPDFQRECLevel= qrM; Color: TColor= clBlack): Integer;

Jednotka

HPDFDoc

Parametry

NázevÚčel
DataRaw byte payload embedded or validated by this API
XPage coordinate or size value expressed in the current HotPDF coordinate space
YPage coordinate or size value expressed in the current HotPDF coordinate space
ModuleSizeVstup používaný DrawQRCode
ECLevelVersion, conformance, or nesting level used by the workflow
ColorColor component or color value used by the painting or resource operation

Návratová hodnota

Vrací hodnotu Integer

Poznámky k použití

Související API