GrapeCity MultiRow Windows Forms Documentation
PrintBackground Property


Gets or sets whether to print the background of the Section when printing.
Syntax
<DefaultValueAttribute()>
<SRCategoryAttribute("Behavior")>
<SRDescriptionAttribute("Indicates whether to print the background of the Section when printing.")>
Public Property PrintBackground As Boolean
Dim instance As Section
Dim value As Boolean
 
instance.PrintBackground = value
 
value = instance.PrintBackground
[DefaultValue()]
[SRCategory("Behavior")]
[SRDescription("Indicates whether to print the background of the Section when printing.")]
public bool PrintBackground {get; set;}

Property Value

true to print the background of the Section; otherwise, false. The default is true.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionSetting this property when GcMultiRow is in runtime.
Remarks
When printing, if you want the page to be "Transparent" to all Cells in the current Section, but not to the Section itself, you can set this property to false. The Section's background is not printed, such as BackColor, GradientColors, Pattern, and so on. For example, if you want to print one watermark image on each page and only keep the Cell's appearance over the watermark image, you can set the PrintSettings.Watermark, and PrintBackground to false.
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

Section Class
Section Members

 

 


Copyright © GrapeCity, inc. All rights reserved.