int32_t __stdcall pdfGetInIsSigned(PPDF IPDF);
function pdfGetInIsSigned(const IPDF: PPDF): Integer; stdcall;
Purpose. Report whether the currently open import source document has been digitally signed — an In-prefixed import-inspection getter, following the same convention documented repeatedly elsewhere (pdfGetInFieldCount Field Lifecycle and Enumeration, pdfGetInIsXFAForm XFA Form Fields): it inspects the separate FImportSrc document, not the live document being edited.
Description. Guarded by HasImportFile; returns NO_IMPORT_ERR (-1073742011) if no import file is open. Otherwise checks two independent signals on the import source: the AcroForm /SigFlags bit 0 (SignaturesExist), or the presence of a document-level /Perms entry (used for certification/usage-rights signatures) — either one alone is sufficient to report "signed."
Parameters.
| Parameter | Description |
|---|---|
IPDF | Document handle (whose *import source* is inspected). |
Return value. 1 if either signal indicates the import source is signed; 0 if neither; NO_IMPORT_ERR if no import file is open.
C# (P/Invoke)
public static extern int pdfGetInIsSigned(IntPtr IPDF);
Getters
pdfGetInIsSigned
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.