C
int32_t __stdcall pdfCheckObjects(PPDF IPDF);
Delphi
function pdfCheckObjects(const IPDF: PPDF): Integer; stdcall;
Purpose. Run a structural integrity scan over every object in the document (the document-wide counterpart of pdfCheckPageAnnots, Annotation Lifecycle and Enumeration, which scans only annotations).
Return value. A defect count (real; consult CheckObjectsH's own implementation for the exact criteria checked); -1 if IPDF is invalid.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfCheckObjects(IntPtr IPDF);
Area
Core SDK
Category
Validation
Exported names
pdfCheckObjects
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.