The attached DWG file does not convert all elements to PDF. I am using the code below:
Using Image = Aspose.CAD.Image.Load(ESIFile)
Dim rasterizationOptions As New Aspose.CAD.ImageOptions.CadRasterizationOptions
rasterizationOptions.PageWidth = 1600
rasterizationOptions.PageHeight = 1600
rasterizationOptions.AutomaticLayoutsScaling = True
rasterizationOptions.NoScaling = False
'rasterizationOptions.AutomaticLayoutsScaling = True
Dim options As New Aspose.CAD.ImageOptions.PdfOptions
options.VectorRasterizationOptions = rasterizationOptions
Image.Save(PathToUse, options)
End Using