Xceed Chart for WinForms v4.4 Documentation
PrintGrayScale Property
Example 


Xceed.Chart.v4.4 Assembly > Xceed.Chart Namespace > PrintManager Class : PrintGrayScale Property
Whether or not to convert the printed image to shades of gray.
Syntax
'Declaration
 
Public Property PrintGrayScale As Boolean
'Usage
 
Dim instance As PrintManager
Dim value As Boolean
 
instance.PrintGrayScale = value
 
value = instance.PrintGrayScale
public bool PrintGrayScale {get; set;}
Remarks
This feature is very useful when you print on B/W printers or would like to print chart without wasting the color cartridge. The default value is false meaning the chart try to print in color mode.
Example
The following code enables grayscaling:
ChartControl.PrintManager.PrintGrayScale = true;
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PrintManager Class
PrintManager Members