PDF4Java Reference Documentation
com.o2sol.pdf4java.content.text Package / PDFTextWord Class / getWordCorners Method
Collapse All Expand All
In This Topic

getWordCorners Method
In This Topic
Gets the display coordinates of the word corners.
The order of the corners in the array is the following: lower left, lower right, upper right, upper left. These corners match the text baseline for the lower corners. The method considers the font's Descent for the lower corners.
Syntax

    public PDFPoint[] getWordCorners()

#### Return Value

The coordinates on the page of the word's corners.
See Also

#### Reference

PDFTextWord Class
PDFTextWord Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.