RectangleTool FillStyle by default always yellow?

Hi,

Can I change de color of a rectangle when it is created? I know how to change it when it has been already created but this is not my problem. I want that my rectangle FillStyle color property by default will be White, not Yellow.

Could anybody help me?

Thanks!!

1 Reply

MW Melba Winshia Syncfusion Team June 22, 2010 11:06 AM UTC

Hi Blanca,

Thank you for contacting Syncfusion Support.

You can achieve this by overriding the RectangleTool class. Please refer to the sample in the following link which illustrates this:

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=RectangleTool620762366.zip

Note:

In the above sample, select Rectangle Tool from Tools -> Rectangle Symbol

Please try this and let me know if this helps.

Thanks,
Melba

Loader.
Up arrow icon