We are still testing the capabilities fo GroupDocs in all its facets and today we had an issue with an AutoCad document to convert to PDF. The resulting PDF seems really zoomed out and does not represent the existing content of the autocad file.
This is the file we are trying to convert: https://we.tl/t-usxdGB8MvU
Using following code (API 19.11):
using (var converter = new Converter(() => inputStream))
{
using (MemoryStream output = new MemoryStream())
{
// Convert using GroupsDocs Converter
ConverterSettings cs = new ConverterSettings();
converter.Convert(new SaveDocumentStream(() => output), new PdfConvertOptions()
{
MarginBottom = 0,
MarginLeft = 0,
MarginRight = 0,
MarginTop = 0,
PdfOptions = {
PdfFormat = PdfFormats.v1_7,
OptimizationOptions = {
CompressImages = false,
}
}
});
return output.ToArray();
}
}
Would you have any suggestions how to fix this?