Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / PictureCommand Class / ReplacePicture Method
new source data
The picture(s) to modify.


In This Topic
    ReplacePicture Method
    In This Topic
    Creates a command that replace source of the picture(s).
    Syntax
    'Declaration
     
    
    Public Shared Function ReplacePicture( _
       ByVal filePath As String, _
       ByVal ParamArray shapes() As IShape _
    ) As PictureCommand
    'Usage
     
    
    Dim filePath As String
    Dim shapes() As IShape
    Dim value As PictureCommand
     
    value = PictureCommand.ReplacePicture(filePath, shapes)
    public static PictureCommand ReplacePicture( 
       string filePath,
       params IShape[] shapes
    )

    Parameters

    filePath
    new source data
    shapes
    The picture(s) to modify.
    See Also