Hi,
i need to know the bounding box of every single character on a rendered page.
I guess that during the rendering process these informations are calculated.
Is there a way to get these informations?
thanks and regards
Mark
Hi,
Document doc = new Document(MyDir + "in.docx");
LayoutCollector collector = new LayoutCollector(doc);
LayoutEnumerator layoutEnumerator = new LayoutEnumerator(doc);
Bookmark bookmark = doc.Range.Bookmarks[0];
var renderObject = collector.GetEntity(bookmark.BookmarkStart);
layoutEnumerator.Current = renderObject;
Console.WriteLine(layoutEnumerator.Rectangle);