|
PdfToTextExtractText Method |
Extracts the text from the specified page and coordinates.
Namespace:
SelectPdf
Assembly:
Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax public string ExtractText(
int pageNumber,
double X,
double Y,
double width,
double height
)
Public Function ExtractText (
pageNumber As Integer,
X As Double,
Y As Double,
width As Double,
height As Double
) As String
Parameters
- pageNumber
- Type: SystemInt32
Page number (starting with 1). - X
- Type: SystemDouble
X-coordinate of the crop area top left corner. - Y
- Type: SystemDouble
Y-coordinate of the crop area top left corner. - width
- Type: SystemDouble
Width of crop area in points. - height
- Type: SystemDouble
Height of crop area in points.
Return Value
Type:
StringThe text extracted from the specified crop area of the PDF document.
See Also