DWG TO PDF ;Conversion content exception!

DWG TO PDF ,wrong information!
DWG.png (4.2 KB)

Replacement results.png (42.0 KB)

@dream.xg,
Hello.
Please, share the initial DWG file so we can reproduce the issue.

A4-standard.zip (41.4 KB)

Hello.

Please check the attachment. Thank you

[

dream.xg

dream.xg@qq.com

](头像签名)

---- Replied Message ----

From | Alex Gorokhovatskyi via Free Support Forum - aspose.comforum@aspose.com |

  • | - |
    Date | 12/23/2023 16:08 |
    To | dream.xg@qq.com |
    Subject | [Free Support Forum - aspose.com] [Aspose.CAD Product Family] DWG TO PDF ;Conversion content exception! |

| oleksii.gorokhovatskyi
December 23 |

  • | - |

@dream.xg,
Hello.
Please, share the initial DWG file so we can reproduce the issue.

(Attachment A4-standard.dwg is missing)

@dream.xg,
I have attached my result obtained with this code sample using the latest Aspose.CAD for .NET 23.11:

using (CadImage cadImage = (CadImage)Aspose.CAD.Image.Load(fileName))
// using (CadImage cadImage = (CadImage)Aspose.CAD.Image.Load(fileName, new LoadOptions { SpecifiedEncoding = CodePages.SimpChinese }))
{
       CadRasterizationOptions options = new CadRasterizationOptions();

       PdfOptions pdfOptions = new PdfOptions();
       pdfOptions.VectorRasterizationOptions = options;

       cadImage.Save("result.pdf", pdfOptions);
}

result.pdf (131.9 KB)
Please try to use also commented line with LoadOptions. Please, share also the version of the library you use, the envorinment (is it Linux? Is it Java?), the code you use so we can localize the issue. Thank you.

Hello.
Please check the attac

[

dream.xg

dream.xg@qq.com

](头像签名)

---- Replied Message ----

From | dream.xgdream.xg@qq.com |

  • | - |
    Date | 12/23/2023 16:10 |
    To | forum@aspose.comforum@aspose.com |
    Subject | Re: [Free Support Forum - aspose.com] [Aspose.CAD Product Family] DWG TO PDF ;Conversion content exception! |

Hello.

Please check the attachment. Thank you

[

dream.xg

dream.xg@qq.com

](头像签名)

---- Replied Message ----

From | Alex Gorokhovatskyi via Free Support Forum - aspose.comforum@aspose.com |

  • | - |
    Date | 12/23/2023 16:08 |
    To | dream.xg@qq.com |
    Subject | [Free Support Forum - aspose.com] [Aspose.CAD Product Family] DWG TO PDF ;Conversion content exception! |

| oleksii.gorokhovatskyi
December 23 |

  • | - |

@dream.xg,
Hello.
Please, share the initial DWG file so we can reproduce the issue.

A4-standard.zip (41.4 KB)