PdfToTextConverterExtractTextAtCoords(String, Int32, Double, Double, Double, Double) Method |
Extracts the text from the specified page and coordinates.
Namespace: ExpertPdfAssembly: eppdftotext (in eppdftotext.dll) Version: 9.0
Syntaxpublic 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 String
- The path of the file containing the PDF document.
- pageNumber Int32
- Page number (starting with 1).
- X Double
- X-coordinate of the crop area top left corner.
- Y Double
- Y-coordinate of the crop area top left corner.
- width Double
- Width of crop area in points.
- height Double
- Height of crop area in points.
Return Value
StringThe text extracted from the specified crop area of the PDF document.
See Also