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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SpreadImage Class > SpreadImage Constructor : SpreadImage Constructor(String,Int32,Int32,Int32,Int32)
Initialize an instance of SpreadImage with specify properties.
Syntax
'Declaration
 
Public Function New( _
   ByVal imageUrl As String, _
   ByVal top As Integer, _
   ByVal left As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer _
)
'Usage
 
Dim imageUrl As String
Dim top As Integer
Dim left As Integer
Dim width As Integer
Dim height As Integer
 
Dim instance As New SpreadImage(imageUrl, top, left, width, height)
public SpreadImage( 
   string imageUrl,
   int top,
   int left,
   int width,
   int height
)

Parameters

imageUrl
top
left
width
height
Example
This example adds an image to the sheet.
FarPoint.Web.Spread.SpreadImage image = new FarPoint.Web.Spread.SpreadImage("fplogo.png", 50, 50, 200, 150);
FpSpread1.ActiveSheetView.Images.Add(image);
Dim Image As New FarPoint.Web.Spread.SpreadImage("fplogo.png", 50, 50, 200, 150)
FpSpread1.ActiveSheetView.Images.Add(Image)
See Also

Reference

SpreadImage Class
SpreadImage Members
Overload List