THPDFPage.DrawPDF417 Method
Provides draw pdf 417 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
Declaration
function DrawPDF417(const Data: AnsiString; X, Y: Single; ModuleSize: Single= 1; RowHeight: Single= 3; Color: TColor= clBlack): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
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 | Input supplied to DrawPDF417 |
RowHeight | Input supplied to DrawPDF417 |
Color | Colour component or colour value used by the painting or resource operation |
Return value
Returns an Integer value
Usage notes
- Use this API in the page drawing workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak