I used Aspose.CAD for .NET to convert DWF to PDF.
With some DWF the pdf created is blank when page size are declared. An error opening PDF is given when AutomaticLayoutsScaling is used.
Aspose.CAD, Version=20.10.0.0
using (Aspose.CAD.Image image = Aspose.CAD.Image.Load(src_doc))
{
Aspose.CAD.ImageOptions.CadRasterizationOptions dwfRasterizationOptions = new Aspose.CAD.ImageOptions.CadRasterizationOptions();
//dwfRasterizationOptions.PageHeight = 1200;
//dwfRasterizationOptions.PageWidth = 1200;
dwfRasterizationOptions.AutomaticLayoutsScaling = true;
Aspose.CAD.ImageOptions.PdfOptions pdfOptions = new Aspose.CAD.ImageOptions.PdfOptions();
pdfOptions.VectorRasterizationOptions = dwfRasterizationOptions;
image.Save(dest_doc, pdfOptions);
}
aspose dwf.zip (58.8 KB)