PdfToTextConverterExtractTextAtCoords Method (String, Int32, Double, Double, Double, Double) |
Extracts the text from the specified page and coordinates.
Namespace:
ExpertPdf
Assembly:
eppdftotext (in eppdftotext.dll) Version: 7.0
Syntax public string ExtractTextAtCoords(
string pdfFilePath,
int pageNumber,
double X,
double Y,
double width,
double height
)
Public Function ExtractTextAtCoords (
pdfFilePath As String,
pageNumber As Integer,
X As Double,
Y As Double,
width As Double,
height As Double
) As String
Parameters
- pdfFilePath
- Type: SystemString
The path of the file containing the PDF document. - 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