DrawHTMLTextMatrix

HTML-tekst, pagina-indeling

Beschrijving

Vergelijkbaar met de functie DrawHTMLText, maar positie/schaling/rotatie wordt opgegeven met een transformatiematrix

Zie bijlage A voor details over de ondersteunde HTML-tags

Syntaxis

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

WidthDe breedte van het gebied waarin de tekst wordt getekend
HTMLTextDe te tekenen HTML-tekst
M11Matrixcomponent
M12Matrixcomponent
M21Matrixcomponent
M22Matrixcomponent
MDXMatrixcomponent
MDYMatrixcomponent

Retourwaarden

Retourneert 1 wanneer de tekst is getekend. Retourneert 0 wanneer Width niet positief is.