We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Id and RadiusForRoundCorner not available in Aspose.Pdf.Drawing.Rectangle

Hi,

We were using Aspose.Pdf.Generator.Rectangle class and were using ID(coming from base class) property to create mapping between PDF box and data box but now in new DOM API there is no ID property.

Also new Dom doesn’t have RadiusForRoundCorner property. How now we can achieve this in new API.

Regards,

Sandeep

Hi Sandeep,


Thanks for your inquiry. After initial investigation, we have logged an enhancement ticket as PDFNEWNET-36624 in our issue tracking system for further investigation and implementation. We will keep you updated about the issue resolution progress via this forum thread.

We are sorry for the inconvenience caused.

Best Regards,

Hi


Is there any update on this issue? What is the ETA on this?

Regards,
Sandeep

Hi Sandeep,

Thanks for your inquiry. I am afraid your reported issue is not completely resolved. We have implemented RadiusForRoundCorner property in Aspose.Pdf for .NET 9.6.0 and working over the remaining part. Hopefully ID property will be included in Aspose.Pdf for .NET 9.7.0.

Meanwhile, we will appreciate it if you please share your sample usage code of Rectangle ID property. So we will test the feature before release of new version.

string outFile = myDir+“36624.pdf”;<o:p></o:p>

Document doc = new Document();<o:p></o:p>

Page page = doc.Pages.Add();<o:p></o:p>

Aspose.Pdf.Drawing.Graph root = new Aspose.Pdf.Drawing.Graph(100, 100);<o:p></o:p>

Aspose.Pdf.Drawing.Rectangle rect = new Aspose.Pdf.Drawing.Rectangle(0, 0, 100, 100);<o:p></o:p>

rect.GraphInfo.Color = Aspose.Pdf.Color.Blue;<o:p></o:p>

rect.RadiusForRoundCorner = 10;<o:p></o:p>

root.Shapes.Add(rect);<o:p></o:p>

page.Paragraphs.Add(root);<o:p></o:p>

doc.Save(outFile);<o:p></o:p>

<o:p> </o:p>

<o:p>Thanks for your patience and cooperation.</o:p>

<o:p>
</o:p>

<o:p>Best Regards,</o:p>