Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / CellEditCommand Class / InsertPicture Method / InsertPicture(IWorksheet,Stream) Method
The GrapeCity.Spreadsheet.IWorksheet to insert.
The data stream of image.


In This Topic
    InsertPicture(IWorksheet,Stream) Method
    In This Topic
    Creates a command to insert picture to current active cell.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function InsertPicture( _
       ByVal worksheet As IWorksheet, _
       ByVal imageStream As Stream _
    ) As CellEditCommand
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim imageStream As Stream
    Dim value As CellEditCommand
     
    value = CellEditCommand.InsertPicture(worksheet, imageStream)
    public static CellEditCommand InsertPicture( 
       IWorksheet worksheet,
       Stream imageStream
    )

    Parameters

    worksheet
    The GrapeCity.Spreadsheet.IWorksheet to insert.
    imageStream
    The data stream of image.
    See Also