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)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay