コード例 #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);
        }