pdfCreateArticleThread
Create a new PDF article thread (/Threads — a legacy
C
int32_t __stdcall pdfCreateArticleThreadA(PPDF IPDF, const char* ThreadName);
int32_t __stdcall pdfCreateArticleThreadW(PPDF IPDF, const wchar_t* ThreadName);
Delphi
function pdfCreateArticleThreadA(const IPDF: PPDF; const ThreadName: PAnsiChar): Integer; stdcall;
function pdfCreateArticleThreadW(const IPDF: PPDF; const ThreadName: PWideChar): Integer; stdcall;
Purpose. Create a new PDF article thread (/Threads — a legacy reading-order navigation mechanism linking text beads across pages).
Return value. The new thread's handle; 0 if IPDF is invalid.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfCreateArticleThreadA(IntPtr IPDF, [MarshalAs(UnmanagedType.LPStr)] string ThreadName);
public static extern int pdfCreateArticleThreadW(IntPtr IPDF, [MarshalAs(UnmanagedType.LPWStr)] string ThreadName);
Area
Core SDK
Category
Object Creation
Exported names
pdfCreateArticleThreadA
pdfCreateArticleThreadW
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.