API referenceCore SDK

pdfGetDocumentResourceList

Return a human-readable listing of the document's resource

C
const char* __stdcall pdfGetDocumentResourceListA(PPDF IPDF);
const wchar_t* __stdcall pdfGetDocumentResourceListW(PPDF IPDF);
Delphi
function pdfGetDocumentResourceListA(const IPDF: PPDF): PAnsiChar; stdcall;
function pdfGetDocumentResourceListW(const IPDF: PPDF): PWideChar; stdcall;

Purpose. Return a human-readable listing of the document's resource usage (fonts/images/color-spaces/etc registered in the document, per GetResourceListStr's own formatting).

Return value. Pointer to a transient buffer with the listing text; nil if IPDF is invalid.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern IntPtr pdfGetDocumentResourceListW(IntPtr IPDF);
public static extern IntPtr pdfGetDocumentResourceList(IntPtr IPDF);
public static extern IntPtr pdfGetDocumentResourceListA(IntPtr IPDF);
Area
Core SDK
Category

Getters

Exported names

pdfGetDocumentResourceListW pdfGetDocumentResourceList pdfGetDocumentResourceListA

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.