API referenceCore SDK

pdfGetInBBox

Read a page's box from the currently open import file

C
BOOL32 __stdcall pdfGetInBBox(PPDF IPDF, uint32_t PageNum, int32_t Boundary, TPDFRect* BBox);
Delphi
function pdfGetInBBox(const IPDF: PPDF; PageNum: Cardinal; Boundary: Integer; var BBox: TPDFRect): LongBool; stdcall;

Purpose. Read a page's box from the currently open import file (a third box-query context, alongside the two families above) — ImportBBoxOut, mirroring the pdfGetIn* family's "read from the import source, not this document" convention used throughout Document Info & Structure Tree's /Info getters.

Parameters.

ParameterDescription
IPDFDocument handle (with an open import file).
PageNum1-based page within the import source.
BoundaryBox kind.
BBoxOutput box.

Return value. True if the import file is open and PageNum resolves; False otherwise.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Core SDK
Category

Getters

Exported names

pdfGetInBBox

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.