Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / InsertPicture Method
The worksheet to insert new picture.
The file from which the picture is to be created.


In This Topic
    InsertPicture Method (ShapeActionsCommand)
    In This Topic
    Creates a picture from an existing file.
    Syntax
    'Declaration
     
    
    Public Shared Function InsertPicture( _
       ByVal worksheet As IWorksheet, _
       ByVal fileName As String _
    ) As ShapeActionsCommand
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim fileName As String
    Dim value As ShapeActionsCommand
     
    value = ShapeActionsCommand.InsertPicture(worksheet, fileName)
    public static ShapeActionsCommand InsertPicture( 
       IWorksheet worksheet,
       string fileName
    )

    Parameters

    worksheet
    The worksheet to insert new picture.
    fileName
    The file from which the picture is to be created.
    See Also