Simple Creation of a file

Originally Posted 24 April 2014, 2:07 am EST

  • Originally Posted 24 April 2014, 2:07 am EST

    Hi All,

    I was wondering if I could trouble someone for some assistance using SpreadRT via a WinRT Component.
    I've added a reference to SpreadRT 7 v3 and tried to use the instructions here to create a workbook:!Documents/step2of4addingcontenttoac1xlbook.htm

    Unfortunately, I can't find the namespace or classes referred to. I can find a 'GrapeCity' namespace with 'Spreadsheet' and 'Xaml' within them, but none of them seem to contain the classes needed to create a book.

    Any pointers/help greatly appreciated.

    Kind Regards,

  • Marked as Answer


    Hello Doug,

    Here is the code to create and add a sheet to SpreadRT programmatically:

    gcSpreadSheet1.Sheets.Add(new GrapeCity.Xaml.SpreadSheet.Data.Worksheet());

    I would suggest you to please go through the documentation here on more information on this.

    Deepak Sharma
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels