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
使用上の注意
- 影響を受けるページ、リソース、フィールド、またはカタログオブジェクトが確定する前に、ページ描画ワークフローでこの API を使用してください
- 安定
- ページレベルの変更は、同じページ上の後続のオペレーターに影響します。一時的な設定が漏洩しないように、グラフィックスの状態を保存および復元してください