Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / GeneralCellType Class / BackgroundImageUrl Property
Example


In This Topic
    BackgroundImageUrl Property (GeneralCellType)
    In This Topic
    Gets or sets the URL for the background image for the cell.
    Syntax
    'Declaration
     
    Public Overrides Property BackgroundImageUrl As String
    'Usage
     
    Dim instance As GeneralCellType
    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
    Example
    This example sets the image for the background of the cell.
    FarPoint.Web.Spread.GeneralCellType cb=new FarPoint.Web.Spread.GeneralCellType();
    cb.BackgroundImageUrl="D:\\images\\earth.ico";
    FpSpread1.ActiveSheetView.Cells[0,0].CellType=cb;
    Dim cb As New FarPoint.Web.Spread.GeneralCellType
    cb.BackgroundImageUrl="D:\images\earth.ico"
    FpSpread1.ActiveSheetView.Cells(0,0).CellType=cb
    See Also