Spread for ASP.NET 10 Product Documentation
ActiveImage Property
Example 


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
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

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.