Spread for ASP.NET 11 Product Documentation
ActiveImage Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : ActiveImage Property
Gets or sets the active image.
Syntax
'Declaration
 
Public Property ActiveImage As Object
'Usage
 
Dim instance As SheetView
Dim value As Object
 
instance.ActiveImage = value
 
value = instance.ActiveImage
public object ActiveImage {get; set;}
Example
This example sets the active image.
FarPoint.Web.Spread.SpreadImage image = new FarPoint.Web.Spread.SpreadImage();
image.CanMove = true;
image.CanSelect = true;
image.ImageUrl = "fplogo.png";
image.Width = 100;
image.Height = 90;
image.Left = 0;
image.Top = 0;
FpSpread1.ActiveSheetView.Images.Add(image);
FpSpread1.ActiveSheetView.ActiveImage = image;
Dim Image As New FarPoint.Web.Spread.SpreadImage()
Image.CanMove = True
Image.CanSelect = True
Image.ImageUrl = "fplogo.png"
Image.Width = 100
Image.Height = 90
Image.Left = 0
Image.Top = 0
FpSpread1.ActiveSheetView.Images.Add(Image)
FpSpread1.ActiveSheetView.ActiveImage = Image
See Also

Reference

SheetView Class
SheetView Members