Hi,
We are trying to draw a rounded rectangle and fill it with color by doing the given below
Aspose.Pdf.Drawing.Graph canvas2 = new Aspose.Pdf.Drawing.Graph(131, 20)
{
IsChangePosition = false,
Left = 196,
Top = 92
};
Aspose.Pdf.Drawing.Rectangle rect2 = new Aspose.Pdf.Drawing.Rectangle(0, 0, 131, 20);
rect2.RoundedCornerRadius = 5;
rect2.GraphInfo.Color = Aspose.Pdf.Color.FromArgb(204, 204, 204);
rect2.GraphInfo.FillColor = Aspose.Pdf.Color.AliceBlue;
canvas2.Shapes.Add(rect2);
page.Paragraphs.Add(canvas2);
return new AsposePdfDocument(Document);
but the expected out put should be rectangle filled with color according to your docs
please look into it and provide us with the solution
RoundedRectangleFillColorIssue.png (1.9 KB)
Thank you.