pdfGetAnnotBBox
Read an annotation's /Rect bounding box by document-wide
C
BOOL32 __stdcall pdfGetAnnotBBox(PPDF IPDF, uint32_t Handle, TPDFRect* BBox);
Delphi
function pdfGetAnnotBBox(const IPDF: PPDF; Handle: Cardinal; var BBox: TPDFRect): LongBool; stdcall;
Purpose. Read an annotation's /Rect bounding box by document-wide handle.
Parameters.
| Parameter | Description |
|---|---|
IPDF | Document handle. |
Handle | Document-wide annotation handle. |
BBox | Output: Left/Bottom/Right/Top. |
Return value. True if Handle resolves; False otherwise.
See also. pdfChangeAnnotPos (the setter counterpart).
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Annotations
Category
Annotations
Exported names
pdfGetAnnotBBox
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.