I was using the latest version and could get all the bookmarks using the following code, however I’m now using v16.5.0 and ToArray is not available. Can anyone point me in the right direction on how to accomplish this in v16 please? Thanks!
Bookmark[] bookmarks;
Document doc = new Document(fileNameAndPath);
bookmarks = doc.Range.Bookmarks.ToArray();