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);
}
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)