Looking for a powerful programmatic document conversion solution? Wordize for .NET enables developers to convert documents between multiple file formats using C#. Convert documents to Microsoft Office, OpenOffice, PDF, Web, image and e-book formats with guaranteed preservation of document content, formatting and layout.
Key features:Whether you're building enterprise applications or integrating document conversion into your workflow, Wordize for .NET provides the reliability and flexibility you need. Try enterprise-grade document conversion using a simple C# API today!
using Wordize.Conversion;
Converter.Convert("Input.docx", "Output.pdf");
using Wordize.Conversion;
Converter.Convert("Input.docx", "Output.pdf");
using Wordize.Conversion;
using Wordize.Saving;
var imageStreams = Converter.ConvertToImages("Input.docx", new ImageSaveOptions(SaveFormat.Pdf));
foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i)))
{
using var _ = stream;
stream.Position = 0;
using var file = File.Create($"Output_{page + 1}.pdf");
stream.CopyTo(file);
}
using Wordize.Conversion;
using Wordize.Saving;
ImageSaveOptions saveOptions = new ImageSaveOptions(saveFormat);
saveOptions.PageLayout = MultiPageLayout.Vertical(10);
Converter.Create()
.From("Input.docx")
.To("Output.pdf", saveOptions)
.Execute();