Spread for ASP.NET 11 Product Documentation
AddImage(Int32,Int32,Int32,Int32,Image) Method
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class > AddImage Method : AddImage(Int32,Int32,Int32,Int32,Image) Method
Syntax
'Declaration
 
Public Overloads Function AddImage( _
   ByVal top As Integer, _
   ByVal left As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal image As Image _
) As SpreadImage
'Usage
 
Dim instance As SheetView
Dim top As Integer
Dim left As Integer
Dim width As Integer
Dim height As Integer
Dim image As Image
Dim value As SpreadImage
 
value = instance.AddImage(top, left, width, height, image)
public SpreadImage AddImage( 
   int top,
   int left,
   int width,
   int height,
   Image image
)

Parameters

top
left
width
height
image
Example
This example adds an image to the sheet.
FpSpread1.Sheets[0].AddImage(50, 50, 200, 150, System.Drawing.Image.FromFile("C:\\Program Files (x86)\\GrapeCity\\fplogo.png"));
FpSpread1.Sheets(0).AddImage(50, 50, 200, 150, System.Drawing.Image.FromFile("C:\Program Files (x86)\GrapeCity\fplogo.png"))
See Also

Reference

SheetView Class
SheetView Members
Overload List