Spread WinRT Documentation
GrapeCity.Xaml.SpreadSheet.Data Namespace / CopyToOption Enumeration
Example Example


In This Topic
    CopyToOption Enumeration
    In This Topic
    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
    AllIndicates to copy values, formulas, range groups, sparklines, spans, styles, and tags.
    FloatingObjectThe floating object
    FormulaIndicates the type of data is a formula.
    RangeGroupIndicates to copy a range group.
    SpanIndicates to copy a span.
    SparklineIndicates the type of data is a sparkline.
    StyleIndicates the type of data is a style.
    TagIndicates the type of data is a tag.
    ValueIndicates 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