Aspose.Cells.Examples.CSharp.Articles.WorkingWithHTMLFormat.ExportStreamProvider.InitStream C# (CSharp) Method

InitStream() public method

public InitStream ( StreamProviderOptions options ) : void
options StreamProviderOptions
return void
        public void InitStream(StreamProviderOptions options)
        {
            string path = outputDir + Path.GetFileName(options.DefaultPath);
            options.CustomPath = path;
            Directory.CreateDirectory(Path.GetDirectoryName(path));
            options.Stream = File.Create(path);
        }