Hello,
I am using the latest nuget pkg GroupDocs.Convert, it shows the following error.
is that anyone face the same error?
image.png (79.1 KB)
the source is absolute path with file name like “c:\x\xx.pdf”
the destinationis absolute path with file name like “c:\x\xx.html”
using Aspose.Pdf;
using GroupDocs.Conversion;
using GroupDocs.Conversion.FileTypes;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Viewer.Options;
using GroupDocs.Viewer;
namespace PdfToHtmlTest
{
public class ConholdateTotalForNetTest
{
public static void ConvertPdfToHtml(string source, string destination)
{
using (Converter converter = new Converter(source))
{
WebConvertOptions webConvertOptions = new WebConvertOptions
{
Format = new WebFileType(),
PagesCount = 1,
PageNumber = 1,
};
converter.Convert(destination, webConvertOptions);
}
}
}
}