C
BOOL32 __stdcall rasInitialize(IPGC CachePtr, TPDFThreadPriority Priority);
Delphi
function rasInitialize(CachePtr: IPGC; Priority: TPDFThreadPriority): LongBool; stdcall;
Purpose. Nominally: initialize the page cache's background rendering with a given thread priority.
Description. In practice, the entire body is C.Busy := False; Result := True — Priority is accepted but never read. Use rasSetThreadPriority (below) to actually set the cache's stored update/render thread priorities.
Parameters.
| Parameter | Description |
|---|---|
CachePtr | Target page cache — its Busy flag is cleared. |
Priority | Accepted but never read. |
Return value. True if CachePtr resolves; False otherwise.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Rendering & Viewer
Category
Rasterizer/Rendering
Exported names
rasInitialize
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.