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


In This Topic
    InsertPicture(IWorksheet,String) 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 filePath As String _
    ) As CellEditCommand
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim filePath As String
    Dim value As CellEditCommand
     
    value = CellEditCommand.InsertPicture(worksheet, filePath)
    public static CellEditCommand InsertPicture( 
       IWorksheet worksheet,
       string filePath
    )

    Parameters

    worksheet
    The GrapeCity.Spreadsheet.IWorksheet to insert.
    filePath
    The path of image file.
    See Also