vsto - Retrieve the position of a content control inside a word document -


is possible in vsto position (that page number or section/chapter) content control placed ? eg. retrieve ctrl req234 on chap. 4.1 (headings) or on page xy

4. title lorem ipsum  4.1 subtitle   lorem ipsum   [req234] 5. title 

the control surrounded bookmark if easier retrieve bookmark position.

find range has method achieve task

contentcontrol.range.get_information(wdinformation.wdactiveendpagenumber);

https://msdn.microsoft.com/en-us/library/bb213848(v=office.12).aspx


Comments