2,756
edits
No edit summary |
No edit summary |
||
Line 15:
==Report Design==
#Replace the '''Label''' (XRLabel) that is bound to "Description" with '''Rich Text''' (XRRichText) control
#Change the
#
#:Font Name = "Tahoma"
#:Font size = 9
#In Property Grid, Click [+] button of Scripts to reveal the events of this Rich Text
#Find Before Print, and click into the text box on the right
Line 31 ⟶ 33:
===Add function call in xrRTItemDesc_BeforePrint event===
<syntaxhighlight lang="csharp">
private void
{
string desc = DetailReport.GetCurrentColumnValue("Description").ToString();
//
//You may change the value of spacing, but always end with letter 'f'.
(sender as XRRichText).Text = FormatLineSpacing(desc, 1.5f);
}
|