How do I get ounding boxes (or quads) for each glyph?


How can we iterate through all glyphs on a page (including extrapolated spaces) and retrieve bounding boxes (or quads) for each glyph as well as the text associated with that glyph respectively?”


You would use pdftron.PDF.TextExtractor as shown in TextExtract sample:

You can get a bbox for every line, word, or a character:

In case you are referring to WebViewer (, we offer the same functionality there, but the API is a bit different.