| Category | Text output |
|---|
Purpose — Explicit-length variant of pdfWriteTextMatrix, for text with embedded NULs.
Declarations
C
BOOL32 __stdcall pdfWriteTextMatrixExA(PPDF IPDF, TCTM* M, const char* AText, uint32_t Len);
BOOL32 __stdcall pdfWriteTextMatrixExW(PPDF IPDF, TCTM* M, const wchar_t* AText, uint32_t Len);
Delphi
function pdfWriteTextMatrixExA(const IPDF: PPDF; var M: TCTM; const AText: PAnsiChar; Len: Cardinal): LongBool; stdcall; external 'LumasPdf.dll';
function pdfWriteTextMatrixExW(const IPDF: PPDF; var M: TCTM; const AText: PWideChar; Len: Cardinal): LongBool; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
M | TCTM | Text-space matrix. |
AText | string | Text buffer, may contain embedded NULs. |
Len | Cardinal | Element count. Len=0 falls back to a NUL-terminated read of AText. |
Return value — TRUE on success; FALSE on any missing precondition.
See also — pdfWriteTextMatrix
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Text
Category
Text
Exported names
pdfWriteTextMatrixExA
pdfWriteTextMatrixExW
String variants
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
See working code
Worked examples — complete programs in ten languages.