int32_t __stdcall pdfGetTabLen(PPDF IPDF);
BOOL32 __stdcall pdfSetTabLen(PPDF IPDF, int32_t TabLen);
function pdfGetTabLen(const IPDF: PPDF): Integer; stdcall;
function pdfSetTabLen(const IPDF: PPDF; TabLen: Integer): LongBool; stdcall;
Purpose. Set/get how many space-equivalents a tab character (\t) expands to when writing text.
Description. Verified write-only no-op. Stores TabLen into FTabLen (default 3, an explicit DIFF from the classic API's default); this field has no consumer anywhere in the text-writing code path — a literal tab character in text passed to any pdfWriteText-family function is not actually expanded per this setting (its handling, if any, is governed elsewhere, not by this value).
Parameters.
| Parameter | Description |
|---|---|
IPDF | Document handle. |
TabLen | Stored but never consulted. |
Return value. Getter: the stored value (default 3); 0 if IPDF invalid. Setter: True if IPDF valid.
C# (P/Invoke)
[return: MarshalAs(UnmanagedType.Bool)]
Setters
pdfSetTabLen
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.