C
BOOL32 __stdcall pdfChangeAnnotPos(PPDF IPDF, uint32_t Handle, double PosX, double PosY, double Width, double Height);
Delphi
function pdfChangeAnnotPos(const IPDF: PPDF; Handle: Cardinal; PosX, PosY, Width, Height: Double): LongBool; stdcall;
Purpose. Reposition/resize an existing annotation's /Rect.
Parameters.
| Parameter | Description |
|---|---|
IPDF | Document handle. |
Handle | Document-wide annotation handle. |
PosX, PosY, Width, Height | New bounding box. |
Return value. True if Handle resolves and the rect was updated; False otherwise.
See also. pdfGetAnnotBBox.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Annotations
Category
Core
Exported names
pdfChangeAnnotPos
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.