Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ImageCellType Class / AlternateText Property

In This Topic
    AlternateText Property (ImageCellType)
    In This Topic
    Gets or sets the alternate text for the image cell.
    Public Property AlternateText As String
    Dim instance As ImageCellType
    Dim value As String
    instance.AlternateText = value
    value = instance.AlternateText
    public string AlternateText {get; set;}

    Property Value

    String containing the alternate text
    This sets the alternate text for the image cell.
    FarPoint.Web.Spread.ImageCellType img = new FarPoint.Web.Spread.ImageCellType(); 
    img.ImageUrl = "c:\\earth.ico"; 
    img.AlternateText = "Alternate"; 
    img.ImageAlign = ImageAlign.Left; 
    FpSpread1.ActiveSheetView.Cells(0, 0).CellType = img;
    Dim img As New FarPoint.Web.Spread.ImageCellType
    img.ImageUrl = "c:\earth.ico"
    img.AlternateText = "Alternate"
    img.ImageAlign = ImageAlign.Left
    FpSpread1.ActiveSheetView.Cells(0, 0).CellType = img
    See Also