Description
Sets or returns whether a worksheet formatted with colors will be printed in black and white. Set this totrue
if you are printing a colored worksheet on a black and white printer, or to reduce printing time on a color printer.
C#
<p> public boolean PrintInBlackAndWhite{ get ; set ; }</p> |
vb.net
<p> Public Property PrintInBlackAndWhite() As Boolean </p> |
Remarks
This property has no effect when rendering the worksheet to a PDF document.Examples
C#
//--- Get PrintBlackAndWhite bool bw = ps.PrintInBlackAndWhite; //--- Set PrintBlackAndWhite ps.PrintInBlackAndWhite = true ; |
vb.net
'--- Get PrintBlackAndWhite Dim bw As Boolean = ps.PrintInBlackAndWhite '--- Set PrintBlackAndWhite ps.PrintInBlackAndWhite = True |