'Declaration
Public Overloads Function Add( _ ByVal filename As String, _ ByVal topLeftCellAddress As String, _ ByVal bottomRightCellAddress As String _ ) As Picture
'Usage
Dim instance As PictureCollection Dim filename As String Dim topLeftCellAddress As String Dim bottomRightCellAddress As String Dim value As Picture value = instance.Add(filename, topLeftCellAddress, bottomRightCellAddress)
public Picture Add( string filename, string topLeftCellAddress, string bottomRightCellAddress )
Parameters
- filename
- The path for the image file to be added.
- topLeftCellAddress
- The address of the cell where the top left corner of the picture will be located once it is inserted in the worksheet.
- bottomRightCellAddress
- The address of the cell to which the bottom right corner of the picture will extend once it is inserted in the worksheet.