DEV Community

Cover image for VSD to PDF
Atir Tahir
Atir Tahir

Posted on • Updated 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)