2019.2

Table Of Contents
ExtractText2(left, top, right, bottom)
Returns the text located inside the region bounded by the left, top, right and bottom parameters.
If multiple lines are found, they are separated by a CR-LF pair.
Syntax
VOID ExtractText2 (
FLOAT left,
FLOAT top,
FLOAT right,
FLOAT bottom
)
left
Distance in inches of the left limit of the region from the left edge of the /CropBox. Must be
between 0 and 5000.
top
Distance in inches of the top limit of the region from the top edge of the /CropBox. Must be
between 0 and 5000.
right
Distance in inches of the right limit of the region from the left edge of the /CropBox. Must be
between 0 and 5000.
bottom
Distance in inches of the bottom limit of the region from the top edge of the /CropBox. Must be
between 0 and 5000.
Return value
A string containing the text extracted from the specified region.
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
page280.
Syntax
IPdfRect MediaSize ( )
Page 275