B2019-144 Set the document text color to Red (overlay) or Black (normal)
This commit is contained in:
@@ -952,6 +952,10 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
private void btnPrintReport_Click(object sender, EventArgs e)
|
||||
{
|
||||
//B2019-144 Set the document text color to Red (overlay) or Black (normal)
|
||||
Color lastColor = MSWordToPDF.OverrideColor;// B2019-144 Remember override color
|
||||
if (MSWordToPDF.OverrideColor != Color.Black)
|
||||
MSWordToPDF.OverrideColor = Color.Black;
|
||||
Cursor curcur = Cursor;
|
||||
Cursor = Cursors.WaitCursor;
|
||||
if (cbxSummary.Checked) // RO Summary Report
|
||||
@@ -994,6 +998,10 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
}
|
||||
Cursor = curcur;
|
||||
//B2019-144 Set the document text color to Red (overlay) or Black (normal)
|
||||
if (MSWordToPDF.OverrideColor != lastColor)// B2019-144 Restore override color
|
||||
MSWordToPDF.OverrideColor = lastColor;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user