GrapeCity.Xaml.SpreadSheet.Data
AddPicture(String,Stream,Int32,Double,Int32,Double,Int32,Double,Int32,Double) Method


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

Parameters

name
The name.
imageStream
The image source.
row
The row.
rowOffset
The row offset.
column
The column.
columnOffset
The column offset.
endRow
The end row.
endRowOffset
The end row offset.
endColumn
The end column.
endColumnOffset
The end column offset.

Return Value

The added picture
See Also

Reference

Worksheet Class
Worksheet Members
Overload List