THPDFPage.DrawFormXObject

THPDFPage

Top

Paints a Form XObject registered by THotPDF.RegisterFormXObject into a page rectangle.

Delphi syntax:

procedure DrawFormXObject(const FormName: AnsiString; X, Y, W, H: Single);

procedure DrawFormXObject(const FormName: AnsiString; X, Y, W, H: Single; Angle: Extended);

Description

The method attaches the form to the current page's Resources/XObject dictionary, wraps the draw in q / Q, applies a placement matrix, and emits Do. Coordinates use the same top-left page coordinate convention as other HotPDF page drawing helpers.