Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Is there a way to fill the WorksheetShape with gradient brush?
posted

There are bunch of static methods inside CellFill class, that let you create create gradient fill for cells. At the same time, ShapeFill methods are capable to create only solid fill.And I didn't find any other subclasses for ShapeFill, except ShapeFillSolid.
Is there any other way to fill the WorksheetShape with gradient brush?
Maybe, with the help of UIElementDrawFilter?

  • 7375
    Verified Answer
    Offline posted

    Hello Oleg,

    Thank you for your post.
    You are right looking into our document we have not exposed gradient fill in the excel engine, only find ShapeFillSolid .

    Maybe you could create an image with the gradient, not ideal but maybe a way of dealing with it at the moment. Having a gradient brush in the WorksheetShape is something a new feature idea for us.

    You can suggest new product ideas for future versions (or vote for existing ones) at <ideas.infragistics.com>.
    Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.

    Thank you in advance for submitting your product idea.


    Thank you ,
    Divya Jain