c# - How to find the count/number of paragraphs in the table (having merged cell)? -



c# - How to find the count/number of paragraphs in the table (having merged cell)? -

how find count/number of paragraphs in table (having merged cell)? how can current paragraph number in word document.

below code splitting cell based on paragraphs. final value not matching right paragraph value.

for (int k = 1; k < range.cells.count; k++) { if (range.cells[k].range.text.trimend(exclusions).tostring() != "") { string[] temp = range.cells[k].range.text.split('\r'); int tempcnt = temp.length - 1; j = j + tempcnt; } }

c# .net

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -