pdfDeleteBookmark
Remove a bookmark node (pdfDeleteBookmark), or swap the
C
int32_t __stdcall pdfDeleteBookmark(PPDF IPDF, uint32_t ABmk);
BOOL32 __stdcall pdfExchangeBookmarks(PPDF IPDF, int32_t Bmk1, int32_t Bmk2);
Delphi
function pdfDeleteBookmark(const IPDF: PPDF; ABmk: Cardinal): Integer; stdcall;
function pdfExchangeBookmarks(const IPDF: PPDF; Bmk1, Bmk2: Integer): LongBool; stdcall;
Purpose. Remove a bookmark node (pdfDeleteBookmark), or swap the tree positions of two existing bookmarks (pdfExchangeBookmarks).
Return value. pdfDeleteBookmark: non-zero on success, 0 if ABmk doesn't resolve. pdfExchangeBookmarks: True if both Bmk1/Bmk2 resolve.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfDeleteBookmark(IntPtr IPDF, uint ABmk);
Area
Annotations
Category
Core
Exported names
pdfDeleteBookmark
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.