1

I am using C1Report and I want to change the forecolor of my output, but I cannot. Can somebody please tell me what's wrong with my code? Why can I not change the forecolor?

string script = "Detail.ForeColor =rgb(80,80,80)";
rpt.Sections.Detail.OnFormat = script;
c1DocumentViewer1.Document = rpt.FixedDocumentSequence;
Bart
  • 19,692
  • 7
  • 68
  • 77
Innistrad
  • 63
  • 1
  • 1
  • 7

1 Answers1

3

The Detail section of C1Report does not have a ForeColor property. You may try setting its BackColor property or you may set the ForeColor property of the fields present in the Detail Section.

Bart
  • 19,692
  • 7
  • 68
  • 77
Mohita
  • 499
  • 3
  • 4