Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / TextCellType Class / BackgroundImageUrl Property

In This Topic
    BackgroundImageUrl Property (TextCellType)
    In This Topic
    Gets or sets the URL for the background image for the cell.
    Public Overrides Property BackgroundImageUrl As String
    Dim instance As TextCellType
    Dim value As String
    instance.BackgroundImageUrl = value
    value = instance.BackgroundImageUrl
    public override string BackgroundImageUrl {get; set;}

    Property Value

    String containing the URL of the background image
    This example sets the background image for a text cell.
    FarPoint.Web.Spread.TextCellType t = new FarPoint.Web.Spread.TextCellType();
    t.BackgroundImageUrl = "C:\\images\\example.bmp";
    FpSpread1.ActiveSheetView.Cells[0, 0].CellType = t; 
    Dim t As New FarPoint.Web.Spread.TextCellType
    t.BackgroundImageUrl = "C:\images\example.bmp"
    FpSpread1.ActiveSheetView.Cells(0, 0).CellType = t 
    See Also