Word automation: How to find text inside autoshapes?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tonegawa
    New Member
    • Aug 2010
    • 1

    #1

    Word automation: How to find text inside autoshapes?

    When I use the "find" function, it fails to find words written inside AutoShapes.

    Code:
      bool ret = vk_word_app.Selection.Find.Execute(ref vk_find,
                  ref vk_false, ref vk_false,
                  ref vk_false, ref vk_false, ref vk_false,
                  ref vk_true, ref vk_num, ref varMissing,
                  ref varMissing, ref vk_dynamic, ref vk_false,
                  ref vk_false, ref vk_false, ref vk_true);
    What parameters should I change in order to make it search also inside autoshapes?
Working...