DEV Community

Cover image for VSD to PDF
Atir Tahir
Atir Tahir

Posted on • Edited on

VSD to PDF

Suppose you have a VSD file on server and need to convert it to PDF programmatically. So that other users could download and view it.
Have a look at the following code:

using (Converter converter = new Converter("sample.vsd"))
{
    PdfConvertOptions options = new PdfConvertOptions();
    converter.Convert("converted.pdf", options);
}
Enter fullscreen mode Exit fullscreen mode

All you have to do is to add GroupDocs.Conversion for .NET DLL reference in your project. API takes a VSD file as input and converts it to a PDF. You can post here in case of any issue.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more