Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Create and Edit Charts/Axis/.NET/Axis/Axis/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Syncfusion.XlsIO;
using Syncfusion.Drawing;
using static System.Net.Mime.MediaTypeNames;
using System.Drawing;

namespace Axis
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Syncfusion.XlsIO;
using Syncfusion.XlsIO.Implementation.Charts;
using Syncfusion.Drawing;
using static System.Net.Mime.MediaTypeNames;
using Image = Syncfusion.Drawing.Image;

namespace Pattern_Fill
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// See https://aka.ms/new-console-template for more information
using Syncfusion.XlsIO;
using static System.Net.Mime.MediaTypeNames;


using (ExcelEngine excelEngine = new ExcelEngine())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void Main(string[] args)
worksheet.HideColumn(5);

//Saving the workbook as stream
FileStream OutputStream = new FileStream("Output.xlsx", FileMode.Create, FileAccess.ReadWrite);
FileStream OutputStream = new FileStream(Path.GetFullPath(@"Output/Output.xlsx"), FileMode.Create, FileAccess.ReadWrite);
workbook.SaveAs(OutputStream);

//Dispose streams
Expand Down
3 changes: 2 additions & 1 deletion Pivot Table/Layout/Layout/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Syncfusion.XlsIO;
using Syncfusion.XlsIO.Implementation.PivotTables;

namespace Layout
{
Expand All @@ -19,7 +20,7 @@ public static void Main(String[] args)

string fileName = "PivotTable_Layout.xlsx";
//Saving the workbook as stream
FileStream stream = new FileStream(fileName, FileMode.Create, FileAccess.ReadWrite);
FileStream stream = new FileStream(Path.GetFullPath(@"Output/PivotTable_Layout.xlsx"), FileMode.Create, FileAccess.ReadWrite);
workbook.SaveAs(stream);
stream.Dispose();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.IO;
using Syncfusion.XlsIO;
using System;
using static System.Net.Mime.MediaTypeNames;

namespace Apply_Scenario
{
Expand Down Expand Up @@ -35,7 +34,7 @@ static void Main(string[] args)
newSheet.Name = scenarios[pos].Name;

//Saving the new workbook as a stream
using (FileStream stream = new FileStream(scenarios[pos].Name + ".xlsx", FileMode.Create, FileAccess.ReadWrite))
using (FileStream stream = new FileStream(Path.GetFullPath(@"Output/" + scenarios[pos].Name + ".xlsx"), FileMode.Create, FileAccess.ReadWrite))
{
newBook.SaveAs(stream);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.IO;
using Syncfusion.XlsIO;
using System;
using static System.Net.Mime.MediaTypeNames;

namespace Hide_Scenario
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.IO;
using Syncfusion.XlsIO;
using System;
using static System.Net.Mime.MediaTypeNames;

namespace Protect_Scenario
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Syncfusion.XlsIO.Implementation.Collections;
using Syncfusion.XlsIO.Implementation;
using Syncfusion.XlsIO.Interfaces;
using static System.Net.Mime.MediaTypeNames;

namespace Copy_Column
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static void Main(string[] args)
worksheet.PageSetup.RightFooter = "&P &K0000FF Right Footer";

//Saving the workbook as stream
FileStream stream = new FileStream("Output.xlsx", FileMode.Create);
FileStream stream = new FileStream(Path.GetFullPath("Output/Output.xlsx"), FileMode.Create);
workbook.SaveAs(stream);
stream.Dispose();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.IO;
using Syncfusion.XlsIO;
using static System.Net.Mime.MediaTypeNames;

namespace PrintTitleColumns
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.IO;
using Syncfusion.XlsIO;
using static System.Net.Mime.MediaTypeNames;

namespace PrintTitleRows
{
Expand Down
Binary file not shown.