0
string stEx = cr.Text;
txtbox.Paragraphs[0].TextRuns[0].Value.Expression = stEx;

I have a value in stEx and I need to assign it to `

txtbox.Paragraphs[0].TextRuns[0].Value.Expression

Now I am getting the below error.

Cannot modify the return value of TextRun.Value because it is not a variable

Really appreciate any suggestions on this.

Andrei
  • 55,890
  • 9
  • 87
  • 108
vicky
  • 107
  • 2
  • 10

0 Answers0