THPDFPage.DrawDataMatrix Method

Provides draw data matrix behavior 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 DrawDataMatrix(const Data: AnsiString; X, Y: Single; ModuleSize: Single= 2; Color: TColor= clBlack): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
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
ModuleSizeInput used by DrawDataMatrix
ColorColor component or color value used by the painting or resource operation

Return value

Returns an Integer value

Usage notes

Related APIs