Free Support Forum - aspose.com

Exporting DWG with single page to PDF results in multiple pages


#1

I am currently trialing the SDK and trying to export the attached DWG file to PDF. The export results in two pages in the pdf and the table on the right in the second page is supposed to be on the first page.

ASPOSE.CAD for .NET
SDK version: 18.12.0

How it is supposed to look (102.5 KB)

Exported pdf (3.8 MB)

Original DWG file Plans.zip (308.4 KB) - Rename to Plans.dwg

Here are the CadRasterizationOptions parameters I have set.

rasterizationOptions.AutomaticLayoutsScaling = true;
rasterizationOptions.TypeOfEntities = TypeOfEntities.Entities2D;
rasterizationOptions.ContentAsBitmap = false;
rasterizationOptions.DrawType = Aspose.CAD.FileFormats.Cad.CadDrawTypeMode.UseObjectColor;

#2

@bobbyalex,

I have worked with file shared by you using Aspose.CAD for .NET 18.12. and have been able to observe the issue. A ticket with ID CADNET-738 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with issue so that you may be automatically notified once issue will be fixed.


#3

Thanks Adnan. Is there anything about the dwg file that I can change to make this export correctly?


#4

@bobbyalex,

I have observed your comments. I like to inform that we have created ticket in our issue tracking system to further investigate and resolve issue to help you out. We will get back to you with feedback soon.


#5

The issues you have found earlier (filed as CADNET-738) have been fixed in this update.