GetPageContentBox
Page manipulation
Description
Unions the bounds of all page elements
Syntax
Delphi
Function GetPageContentBox(Page: Integer; Out Left, Top, Width, Height: Double): Integer;Parameters
| Page | 1-based page number |
|---|---|
| Left, Top, Width, Height | Receive the union box in top-down page coordinates |
Return value
1 when at least one element was found, 0 otherwise
Remarks
Text, image and path elements all contribute to the union; annotations are not part of the content box