Rectangle with different rounded corners

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v11)  /  Re: Rectangle with different rounded corners

DynamicPDF CoreSuite for .NET (v11) Forum

Dear support,

we need to create rectangles in PDF that can have different rounded corners (like CSS border-radius : top-left, top-right, ..).
If i understand correctly, it can only be achieved by using a PageElements.Path ?
Furthermore, is there any way to have multiple border styles within a PageElements.Path ?

Best regards
Posted by a ceTe Software moderator
Hi,

You can add rectangle with rounded corner using Rectangle page element, but this will have same style applied for all corners and sides.

Yes, you can try achieving your requirement (different rounded corners in a single rectangle) using the Path page element.  There is no options available in DynamicPDF Core Suite product to specify multiple border styles within Path element though, so you will need to use multiple path elements to achieve that.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 1:35 PM.