Hi,
The BackImageAttributes property is used to specify some background image attributes, it supports “background-position” and “background-repeat” attributes. Please try the attached version, we have fixed the previous bug in it.
Please try the following code:
if (!IsPostBack)
{
grdWeb.WebWorksheets[0].Cells[0, 0].StringValue = "fff";
grdWeb.WebWorksheets[0].Cells[0, 0].Style.BackImageAttributes = "right|no-repeat";
grdWeb.WebWorksheets[0].Cells[0, 0].Style.BackImageUrl = "/agw_client/b2.gif";
}
Please search MSDN to find the possible values of the two properties.
Thank you.
Amjad Sahi
Support Developer,
Aspose Sialkot Team
Contact Us