示例#1
0
        protected override string Export()
        {
            NFlashExporter exporter = new NFlashExporter(document);
            string         fileName = Path.Combine(Application.StartupPath, "test.swf");

            exporter.SaveToFile(fileName);
            return(fileName);
        }
示例#2
0
        private void btnGenerateSwf_Click(object sender, System.EventArgs e)
        {
            NFlashExporter flashExporter = new NFlashExporter(document);
            string         fileName      = Path.Combine(Application.StartupPath, "test.swf");

            flashExporter.SaveToFile(fileName);
            Process.Start(fileName);
        }