Syncfusion.Grid.Windows


PrintingMode Property

Gets or sets a value indicating whether it toggles printing mode for the grid. While in printing mode GridBounds will return the print rectangle of the page being printed and not the client rectangle of the control on the screen.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
Public Property PrintingMode As Boolean
'Usage
 
Dim instance As GridControlBase
Dim value As Boolean
 
instance.PrintingMode = value
 
value = instance.PrintingMode
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public bool PrintingMode {get; set;}
Remarks
When printing the grid, the GridPrintDocument class will toggle the printing mode for the grid. At that time, all drawing related code will use the printing page as canvas and GridBounds.

Also, TopRowIndex and LeftColIndex will return values with top row and left column for the page that is currently being printed.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also