Revision: 70833
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 29, 2016 03:25 by usmansarfraz
Initial Code
C# Code Snippet =============== // For complete examples and data files, please go to https://github.com/aspose-words/Aspose.Words-for-.NET // The path to the documents directory. string dataDir = RunExamples.GetDataDir_QuickStart(); // Load the document from disk. Document doc = new Document(dataDir + "Template.doc"); dataDir = dataDir + "Template_out_.pdf"; // Save the document in PDF format. doc.Save(dataDir); VB.NET Code Snippet =================== ' For complete examples and data files, please go to https://github.com/aspose-words/Aspose.Words-for-.NET ' The path to the documents directory. Dim dataDir As String = RunExamples.GetDataDir_QuickStart() ' Load the document from disk. Dim doc As New Document(dataDir & "Template.doc") dataDir = dataDir & "Template_out_.pdf" ' Save the document in PDF format. doc.Save(dataDir)
Initial URL
http://goo.gl/OW5rWs
Initial Description
The code sample below converts a whole document from DOC to PDF using default options.
Initial Title
Word Documents to PDF (DOC to PDF) Conversion in .NET
Initial Tags
Initial Language
C#