C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > SaveGrid Method : SaveGrid(String,FileFormatEnum,FileFlags,Encoding) Method |
'Declaration
Public Overloads Sub SaveGrid( _ ByVal fileName As String, _ ByVal format As FileFormatEnum, _ ByVal flags As FileFlags, _ ByVal encoding As Encoding _ )
'Usage
Dim instance As C1FlexGridBase Dim fileName As String Dim format As FileFormatEnum Dim flags As FileFlags Dim encoding As Encoding instance.SaveGrid(fileName, format, flags, encoding)
Grids saved to CSV and other text files include data only (no formatting information is saved).
Grids saved to Excel files include data and formatting information. Images are not saved.
Grids can also be persisted to Xml format using the WriteXml(String) and ReadXml(String) methods.
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