'Declaration
Public Overloads Function GetPageTextArea( _ ByVal Page As Integer, _ ByVal Left As Double, _ ByVal Top As Double, _ ByVal Width As Double, _ ByVal Height As Double _ ) As String
public function GetPageTextArea( Page: Integer; Left: Double; Top: Double; Width: Double; Height: Double ): String;
Parameters
- Page
- The number of the page to search for text. It must be a value from 1 to the value of the PageCount property.
- Left
- The horizontal (X) coordinate of the top left point of the required rectangle, in inches.
- Top
- The vertical (Y) coordinate of the top left point of the required rectangle, in inches.
- Width
- The width of the required rectangle, in inches.
- Height
- The height of the required rectangle, in inches.
Return Value
The text found within the defined area of the given page as a string, if the format of the displayed document is text-based. Otherwise, it returns an empty string. The GetStat method can be subsequently used to determine if this method has been successful.