2022.1

Table Of Contents
MediaSize()
Returns the size of the physical medium on which the page is intended to be placed, in points.
This corresponds to the /MediaBox entry of the /Page object in the PDF. See also: "Size()" on
page273.
Syntax
IPdfRect MediaSize ( )
Return value
An "IPdfRect" on page275 structure containing the dimensions, in points, of the media size.
Cannot be NULL.
setIncludeBorders(pbIncludeBorders)
Sets whether or not borders are included for IPage.ExtractText2(). If true, a character is
considered to be inside the region using the 30% rule (i.e. at least 30% of the character must be
enclosed in the region). Otherwise, the character must be entirely enclosed in the region to be
returned. See also: "ExtractText2(left, top, right, bottom)" on the previous page.
Syntax
VOID setIncludeBorders ( LONG pbIncludeBorders )
pbIncludeBorders
If zero, the char must be completely inside the region. Otherwise, the 30% rule applies.
setTolerances(tolerableDeltaWidth, tolerableDeltaHeight, tolerableDeltaFontHeight,
tolerableGap)
Sets the floating point values for the tolerable factors.
Syntax
VOID setTolerances (
FLOAT tolerableDeltaWidth,
FLOAT tolerableDeltaHeight,
FLOAT tolerableDeltaFontHeight,
FLOAT tolerableGap
)
tolerableDeltaWidth
Page 268