Spread Silverlight Documentation
AddPicture(String,Stream,Int32,Double,Int32,Double,Double,Double) Method


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > AddPicture Method : AddPicture(String,Stream,Int32,Double,Int32,Double,Double,Double) Method
The name.
The image source.
The row.
The row offset.
The column.
The column offset.
The width.
The height.
Adds the picture.
Syntax
'Declaration
 
Public Overloads Function AddPicture( _
   ByVal name As System.String, _
   ByVal imageStream As System.IO.Stream, _
   ByVal row As System.Integer, _
   ByVal rowOffset As System.Double, _
   ByVal column As System.Integer, _
   ByVal columnOffset As System.Double, _
   ByVal width As System.Double, _
   ByVal height As System.Double _
) As Picture
'Usage
 
Dim instance As Worksheet
Dim name As System.String
Dim imageStream As System.IO.Stream
Dim row As System.Integer
Dim rowOffset As System.Double
Dim column As System.Integer
Dim columnOffset As System.Double
Dim width As System.Double
Dim height As System.Double
Dim value As Picture
 
value = instance.AddPicture(name, imageStream, row, rowOffset, column, columnOffset, width, height)
public Picture AddPicture( 
   System.string name,
   System.IO.Stream imageStream,
   System.int row,
   System.double rowOffset,
   System.int column,
   System.double columnOffset,
   System.double width,
   System.double height
)

Parameters

name
The name.
imageStream
The image source.
row
The row.
rowOffset
The row offset.
column
The column.
columnOffset
The column offset.
width
The width.
height
The height.

Return Value

The added picture
See Also

Reference

Worksheet Class
Worksheet Members
Overload List