BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Eric,
Thank you for your interest in Syncfusion Products.
Bound is a variable of type “System.Drawing.RectangleF” so the value Bounds.Y is shown that it can be get and set.
But the Property “Bounds” itself is Read-only you can see it by using Mouse tooltip.
Any way to get the white space after the rectangle, you may increase the value of the starting point of the second element instead you increase the bounds of the first drawn element.
Please refer the sample code snippet below.
PdfLayoutResult result = element.Draw(page, new RectangleF(0, 0, page.Graphics.ClientSize.Width / 2, 200));
g.DrawRectangle(brush, new RectangleF(0, result.Bounds.Bottom + 100, g.ClientSize.Width, 30)); //Leaves 100 points space between last drawn element and new rectangle
Please let us know if you have any concern.
Thanks,
Karthikeyan.C
Hi Eric,
Thank you for your update.
I have attached a sample solution which satisfies your requirements.
Please refer the sample, and let me know if you have any concern.
Thanks,
Karthikeyan.C