'Declaration
Public Overloads Function GetPageTextArea( _ ByVal Page As Integer, _ ByVal Left As Single, _ ByVal Top As Single, _ ByVal Width As Single, _ ByVal Height As Single _ ) As String
public function GetPageTextArea( Page: Integer; Left: Single; Top: Single; Width: Single; Height: Single ): 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.