C
BOOL32 __stdcall pdfInitStack(PPDF IPDF, TPDFStack* Stack);
Delphi
function pdfInitStack(const IPDF: PPDF; var Stack: TPDFStack): LongBool; stdcall;
Purpose. Zero-initialize a TPDFStack struct (the output shape used by pdfGetPageText, Page Lifecycle and Geometry) with identity CTM/text-matrix defaults before the caller populates it manually or passes it to a consumer that expects a pre-initialized struct.
Return value. True if IPDF is valid.
See also. pdfGetPageText.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Core SDK
Category
Core
Exported names
pdfInitStack
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.