SpreadsheetGear
SetDataFlags Enumeration
See Also  Send Feedback
SpreadsheetGear.Data Namespace : SetDataFlags Enumeration

Specifies options for the IRange.CopyFromDataTable method.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum SetDataFlags 
   Inherits Enum
C# 
[FlagsAttribute()]
public enum SetDataFlags : Enum 

Members

MemberDescription
None Specifies default behaviour: automatically determine the best cell type and formatting; first row does receive column headers; do not insert cells to open space for the DataTable.
AllText All values are stored and formatted as text, including numeric and boolean types which are converted to text.
NoColumnHeaders Specifies that a row with column headers will not be created from the DataTable's column names.
InsertCells Specifies that cells should be inserted to make room for the DataTable.
WrapNoColumnHeaders Specifies that a row with column headers will not be created from the DataTable's column names when data wraps to a new worksheet.
WrapToNewWorksheet Specifies that data will wrap to a new worksheet if it does not fit on the current worksheet; column headers will be placed at the top of this new worksheet unless SetDataFlags.WrapNoColumnHeaders is specified.
WrapToNewWorksheet64K Specifies that data will wrap to a new worksheet if it does not fit in the first 65536 rows of the current worksheet; column headers will be placed at the top of this new worksheet unless SetDataFlags.WrapNoColumnHeaders is specified.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         SpreadsheetGear.Data.SetDataFlags

Requirements

Namespace: SpreadsheetGear.Data

Platforms: x86 and x64 versions of Windows 2000, Windows XP, Windows Vista, Windows 7, Windows Server 2003 (including R2) and Windows Server 2008 (including R2). SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

Assembly: SpreadsheetGear (in SpreadsheetGear.dll)

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.