Skip to Content
0
Former Member
Apr 21, 2010 at 07:54 AM

Text interpretation : HTML text at runtime

39 Views

I'm using Crystal reports 2008 unmanaged RAS to modify a report at runtime but I can't set the text Interpretation to HTML text

CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject foObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();

          foObject.Name             = FieldName;
          foObject.DataSourceName   = "{" + Value + "}";
          foObject.FieldValueType   = Type;
          foObject.Top              = Top;
          foObject.Left             = Left;
          foObject.Width            = Width;
          foObject.Height           = Height;
          foObject.Format.HorizontalAlignment = Alignment;
          foObject.Format.EnableCanGrow = CanGrow;
          foObject.FontColor = getFontColor(FieldName);
          ClientDocument.ReportDefController.ReportObjectController.Add(foObject, TheSection, -1);

I even tried with

CrystalDecisions.ReportAppServer.ReportDefModel.Paragraph p = new Paragraph();

But it only has the ReadingOrder, Idents and alignment properties...

I couldn't find any TextInterpretation