pdfChangeBookmark
Update an existing bookmark's title, parent, target page, and
C
BOOL32 __stdcall pdfChangeBookmarkA(PPDF IPDF, int32_t ABmk, const char* Title, int32_t Parent, uint32_t DestPage, BOOL32 Open);
BOOL32 __stdcall pdfChangeBookmarkW(PPDF IPDF, int32_t ABmk, const wchar_t* Title, int32_t Parent, uint32_t DestPage, BOOL32 Open);
Delphi
function pdfChangeBookmarkA(const IPDF: PPDF; ABmk: Integer; const Title: PAnsiChar; Parent: Integer; DestPage: Cardinal; Open: LongBool): LongBool; stdcall;
function pdfChangeBookmarkW(const IPDF: PPDF; ABmk: Integer; const Title: PWideChar; Parent: Integer; DestPage: Cardinal; Open: LongBool): LongBool; stdcall;
Purpose. Update an existing bookmark's title, parent, target page, and open state in one call.
Return value. True if ABmk resolves; False otherwise.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Annotations
Category
Core
Exported names
pdfChangeBookmarkA
pdfChangeBookmarkW
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.