Aspose.Words.Examples.CSharp.Loading_Saving.SendToClientBrowser.Run C# (CSharp) Метод

Run() публичный статический Метод

public static Run ( ) : void
Результат void
        public static void Run()
        {
            // ExStart:SendToClientBrowser
           
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_LoadingAndSaving();

            Document doc = new Document(dataDir + "Document.doc");

            dataDir = dataDir + "Report_out.doc";
            // If this method overload is causing a compiler error then you are using the Client Profile DLL whereas 
            // The Aspose.Words .NET 2.0 DLL must be used instead.
            doc.Save(dataDir);
            // ExEnd:SendToClientBrowser
            Console.WriteLine("\nDocument send to client browser successfully.\nFile saved at " + dataDir);
        }
    }
SendToClientBrowser