Aspose.Cells.Examples.CSharp.Articles.WorkingWithHTMLFormat.ExportedWorkSheetViaIFilePathProvider.Main C# (CSharp) Method

Main() static private method

static private Main ( string args ) : void
args string
return void
        static void Main(string[] args)
        {
            // because Aspose.Cells will always make the warning worksheet as active sheet in Evaluation mode.
            SetLicense();

            // Check if license is set, otherwise do not proceed
            Workbook wb = new Workbook();
            if (wb.IsLicensed == false)
            {
                Console.WriteLine("You must set the license to execute this code successfully.");
                Console.ReadKey();
            }
            else
            {
                // Test IFilePathProvider interface
                TestFilePathProvider();
            }
        }
ExportedWorkSheetViaIFilePathProvider