I've seen a lot of VB examples where you specify a start and length to a range of a Word table cell, but how do you do that in C#? So far I have been able to edit the font in a cell but only 1 character at a time which gets really slow with a lot of text.
This works setting "position" in a little for loop but I'm sure is wildly inefficient not setting a whole range at a time:
This works setting "position" in a little for loop but I'm sure is wildly inefficient not setting a whole range at a time:
table.Cell(row, column).Range.Characters[position].Font.Size = 10;
table.Cell(row, column).Range.Characters[position].Font.Bold = 1;
table.Cell(row, column).Range.Characters[position].Font.Italic = 0;
Thanks!