コード例 #1
0
 public void ExportTextsExcel()
 {
     using (var excel = new Excelnterop())
     {
         excel.CreateApplication();
         excel.CreateWorkbook();
         excel.ExportValues(Project.TextValues, Project.Texts.Count + 1, 3, "Texts", "Texts");
     }
 }
コード例 #2
0
        public void ExportElementsExcel()
        {
            using (var excel = new Excelnterop())
            {
                excel.CreateApplication();
                excel.CreateWorkbook();

                foreach (var sheet in Project.Sheets)
                {
                    if (sheet.IsExported == true)
                    {
                        excel.ExportValues(sheet.Values, sheet.Rows, sheet.Columns, sheet.Name, sheet.TagSet.Name);
                    }
                }
            }
        }