C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > PrintGrid Method : PrintGrid(String,PrintGridFlags,String,String) Method |
'Declaration
Public Overloads Function PrintGrid( _ ByVal docName As String, _ ByVal flags As PrintGridFlags, _ ByVal header As String, _ ByVal footer As String _ ) As Boolean
'Usage
Dim instance As C1FlexGridBase Dim docName As String Dim flags As PrintGridFlags Dim header As String Dim footer As String Dim value As Boolean value = instance.PrintGrid(docName, flags, header, footer)
The header and footer strings may contain up to three tab-delimited sections, which are aligned to the left, center, and right of the page. The strings may also contain placeholders that are replaced with the current page number and total number of pages ("{0}" and "{1}").
Use the PrintParameters property to set up options such as page orientation and margins, header and footer fonts, etc.
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