DrawHTMLTextBoxMatrixA

Text, HTML text, Page layout

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to DrawHTMLTextBoxMatrix and string arguments are interpreted using the current SetAnsiMode code page

Similar to the DrawHTMLTextBox function but the position/scaling/rotation is specified using a transformation matrix.

The remaining HTML text is returned, which can be passed to this function again (perhaps on a different page or location) until the function returns an empty string.

See Appendix A for details of the supported HTML tags.

Syntax

Delphi

Function DLDrawHTMLTextBoxMatrixA(InstanceID: Integer; Width, Height: Double; HTMLText: PAnsiChar; M11, M12, M21, M22, MDX, MDY: Double): PAnsiChar;

DLL

const char* DLDrawHTMLTextBoxMatrixA(int InstanceID, double Width, double Height, const char* HTMLText, double M11, double M12, double M21, double M22, double MDX, double MDY);

Parameters

WidthThe width of the drawing area
HeightThe height of the drawing area
HTMLTextThe HTML text to draw
M11Matrix component
M12Matrix component
M21Matrix component
M22Matrix component
MDXMatrix component
MDYMatrix component