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
Оголошення
function DrawQRCode(const Data: AnsiString; X, Y: Single; ModuleSize: Single= 2; ECLevel: THPDFQRECLevel= qrM; Color: TColor= clBlack): Integer;
Модуль
HPDFDoc
Параметри
| Назва | Призначення |
|---|---|
Data | Raw byte payload embedded or validated by this API |
X | Page coordinate or size value expressed in the current HotPDF coordinate space |
Y | Page coordinate or size value expressed in the current HotPDF coordinate space |
ModuleSize | Вхідні дані, що використовує DrawQRCode |
ECLevel | Version, conformance, or nesting level used by the workflow |
Color | Color component or color value used by the painting or resource operation |
Повернене значення
Повертає значення: Integer
Примітки щодо використання
- THPDFPage
- Стабільно
- 页面级别的更改会影响同一页面上的后续操作符;当临时设置不应泄露时,保存并恢复图形状态