Spread for ASP.NET 10 Product Documentation
AlternateText Property (ImageCellType)
Example 


Gets or sets the alternate text for the image cell.
Syntax
'Declaration
 
Public Property AlternateText As String
'Usage
 
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
Example
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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ImageCellType Class
ImageCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.