API reference › PDF/X & Prepress
pdfDeleteOutputIntent
Remove a registered output intent by index — genuinely
C
int32_t __stdcall pdfDeleteOutputIntent(PPDF IPDF, int32_t Index);
Delphi
function pdfDeleteOutputIntent(const IPDF: PPDF; Index: Integer): Integer; stdcall;
Purpose. Remove a registered output intent by index — genuinely real, shifting subsequent entries down (a true array delete, not a tombstone/soft-delete) so indices stay contiguous.
Parameters.
| Parameter | Description |
|---|---|
IPDF | Document handle. |
Index | 0-based index of the intent to remove. |
Return value. The new total output-intent count on success; -1 if Index is out of range.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfDeleteOutputIntent(IntPtr IPDF, int Index);
Area
PDF/X & Prepress
Category
Core
Exported names
pdfDeleteOutputIntent
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.