DrawHTMLTextMatrix

HTML text, Page layout

Description

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

See Appendix A for details of the supported HTML tags

Syntax

Delphi

Function TPDFlib.DrawHTMLTextMatrix(Width: Double; Const HTMLText: WideString; M11, M12, M21, M22, MDX, MDY: Double): Integer;

ActiveX

Function PDFlib::DrawHTMLTextMatrix(Width As Double, HTMLText As String, M11 As Double, M12 As Double, M21 As Double, M22 As Double, MDX As Double, MDY As Double) As Long

DLL

int DLDrawHTMLTextMatrix(int InstanceID, double Width, const wchar_t* HTMLText, double M11, double M12, double M21, double M22, double MDX, double MDY);
int DLDrawHTMLTextMatrixA(int InstanceID, double Width, const char* HTMLText, double M11, double M12, double M21, double M22, double MDX, double MDY);

Parameters

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

Return values

Returns 1 when the text has been drawn. Returns 0 when Width is not positive.