C
int32_t __stdcall pdfGetOCHandle(void* OC);
Delphi
function pdfGetOCHandle(OC: Pointer): Integer; stdcall;
Purpose. By name, resolve an optional-content (OCG) object pointer back to its integer handle.
Description. Verified confirmed complete stub. The entire implementation is Result := Integer(0); — OC is never read or dereferenced in any way. Calling this always returns 0 regardless of what OC points to.
Parameters.
| Parameter | Description |
|---|---|
OC | Never read. |
Return value. Always 0.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfGetOCHandle(IntPtr OC);
Area
Core SDK
Category
Getters
Exported names
pdfGetOCHandle
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.