This project has moved. For the latest updates, please go here.

Text property

Feb 26, 2011 at 1:24 PM

I would like to have a text property added to the table and paragraph classes so I can do a linq search to bring back a particual table/paragraph based on the text.  I have a template that has placeholders and having the text property would be helpful. 

var foo = from paragraph in document.Paragraphs
             where paragraph.Text == "something"
             select paragraph;

var foo2 = from table in document.Tables
             where table.Text == "something"
             select table;