GrapeCity.Xaml.SpreadSheet.Data
CopyToOption Enumeration
Example Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace : CopyToOption Enumeration
Represents which type of cell data is copied when invoking the worksheet's Copy or Move method.
Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum CopyToOption 
   Inherits System.Enum
'Usage
 
Dim instance As CopyToOption
[Flags()]
public enum CopyToOption : System.Enum 
Members
MemberDescription
All Indicates to copy values, formulas, range groups, sparklines, spans, styles, and tags.
FloatingObject The floating object
Formula Indicates the type of data is a formula.
RangeGroup Indicates to copy a range group.
Span Indicates to copy a span.
Sparkline Indicates the type of data is a sparkline.
Style Indicates the type of data is a style.
Tag Indicates the type of data is a tag.
Value Indicates the type of data is pure data.
Example
This example uses the CopyToOption option.
gcSpreadSheet1.Sheets[0].Cells[0, 0, 2, 2].Text = "Test";
gcSpreadSheet1.Sheets[0].CopyTo(0, 0, 3, 3, 2, 2, GrapeCity.Xaml.SpreadSheet.Data.CopyToOption.Value);
GcSpreadSheet1.Sheets(0).Cells(0, 0, 2, 2).Text = "Test"
GcSpreadSheet1.Sheets(0).CopyTo(0, 0, 3, 3, 2, 2, GrapeCity.Xaml.SpreadSheet.Data.CopyToOption.Value)
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Xaml.SpreadSheet.Data.CopyToOption

See Also

Reference

GrapeCity.Xaml.SpreadSheet.Data Namespace