Report Script: Multi-line text line spacing (19): Difference between revisions

Content added Content deleted
(Created page with "==Introduction== XRLabel control is a text display that does not provide spacing between lines.<br/>However, XRRichText control has the properties to set the text spacing betw...")
 
No edit summary
Line 31: Line 31:
===Add function call in xrRTItemDesc_BeforePrint event===
===Add function call in xrRTItemDesc_BeforePrint event===
<syntaxhighlight lang="csharp">
<syntaxhighlight lang="csharp">
private void richText1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
private void richRTItemDesc_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
{
string desc = DetailReport.GetCurrentColumnValue("Description").ToString();
string desc = DetailReport.GetCurrentColumnValue("Description").ToString();