Spread for ASP.NET 11 Product Documentation
ID Property (SpreadImage)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SpreadImage Class : ID Property
Gets or sets the programmatic identifier assigned to the SpreadImage control.
Syntax
'Declaration
 
Public Overrides Property ID As String
'Usage
 
Dim instance As SpreadImage
Dim value As String
 
instance.ID = value
 
value = instance.ID
public override string ID {get; set;}
Example
This example sets the ID property.
FarPoint.Web.Spread.SpreadImage Image = new FarPoint.Web.Spread.SpreadImage();
Image.CanSize = false;
Image.CanPrint = true;
Image.ID = "FirstImage";
Image.ImageUrl = "fplogo.png";
Image.Width = 200;
Image.Height = 150;
Image.Visible = true;
FpSpread1.ActiveSheetView.Images.Add(Image);
Dim Image As New FarPoint.Web.Spread.SpreadImage()
Image.CanSize = False
Image.CanPrint = True
Image.ID = "FirstImage"
Image.ImageUrl = "fplogo.png"
Image.Width = 200
Image.Height = 150
Image.Visible = True
FpSpread1.ActiveSheetView.Images.Add(Image)
See Also

Reference

SpreadImage Class
SpreadImage Members