GrapeCity.Win.MultiRow Namespace > GcMultiRow Class > Print Method : Print(Graphics,RectangleF,Int32,Int32,Boolean,Boolean,PrintStyle) Method |
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> Public Overloads Sub Print( _ ByVal graphics As Graphics, _ ByVal bounds As RectangleF, _ ByVal fromRow As Integer, _ ByVal toRow As Integer, _ ByVal printHeader As Boolean, _ ByVal printFooter As Boolean, _ ByVal printStyle As PrintStyle _ )
Dim instance As GcMultiRow Dim graphics As Graphics Dim bounds As RectangleF Dim fromRow As Integer Dim toRow As Integer Dim printHeader As Boolean Dim printFooter As Boolean Dim printStyle As PrintStyle instance.Print(graphics, bounds, fromRow, toRow, printHeader, printFooter, printStyle)
[EditorBrowsable(EditorBrowsableState.Advanced)] public void Print( Graphics graphics, RectangleF bounds, int fromRow, int toRow, bool printHeader, bool printFooter, PrintStyle printStyle )
Exception | Description |
---|---|
System.ArgumentNullException | The graphics object is a null reference (Nothing in Visual Basic). |
System.ArgumentOutOfRangeException | The fromRow parameter is less than 0 or greater than the number of Rows minus 1. -or- The toRow parameter is less than 0 or greater than the number of Rows minus 1. |
System.ComponentModel.InvalidEnumArgumentException | The printStyle has an invalid value for the PrintStyle enumeration. |
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