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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SpreadImage Class > SpreadImage Constructor : SpreadImage Constructor()
Initialize an instance of SpreadImage.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New SpreadImage()
public SpreadImage()
Example
This example adds an image to the sheet.
FarPoint.Web.Spread.SpreadImage image = new FarPoint.Web.Spread.SpreadImage();
image.CanMove = true;
image.CanSelect = true;
image.ImageUrl = "fplogo.png";
image.Width = 200;
image.Height = 150;
image.Left = 50;
image.Top = 50;
FpSpread1.ActiveSheetView.Images.Add(image);
Dim Image As New FarPoint.Web.Spread.SpreadImage()
Image.CanMove = True
Image.CanSelect = True
Image.ImageUrl = "fplogo.png"
Image.Width = 200
Image.Height = 150
Image.Left = 50
Image.Top = 50
FpSpread1.ActiveSheetView.Images.Add(Image)
See Also

Reference

SpreadImage Class
SpreadImage Members
Overload List