Free Support Forum - aspose.com

Image Button in Aspose.Cells.GridDesktop

Is it possible to add a button to a cell and include an image with the text?

Hi,

I am afraid the feature is not supported in GridDesktop control. I have logged your feature request into our issue tracking system with an id: CELLSNET-27280. We will analyze your feature, if we we can support it. Once we have any update about it, we will let you know.

Thank you.

Hi,

Please try the following code with Aspose.Cells.GridDesktop v2.5.3.2001:

C#


Aspose.Cells.GridDesktop.Button button = gridDesktop1.Worksheets[0].Controls.AddButton(3, 4, 50, 25, “Reset”, true);

Image image = Image.FromFile(@“C:\excel\Aspose.Cells.gif”);

button.Image = image;

The issues you have found earlier (filed as 27280) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.