'Declaration
Public Overloads Function Add( _ ByVal filename As String, _ ByVal topLeftRowId As Integer, _ ByVal topLeftColumnId As Integer, _ Optional ByVal scale As Integer _ ) As Picture
'Usage
Dim instance As PictureCollection Dim filename As String Dim topLeftRowId As Integer Dim topLeftColumnId As Integer Dim scale As Integer Dim value As Picture value = instance.Add(filename, topLeftRowId, topLeftColumnId, scale)
public Picture Add( string filename, int topLeftRowId, int topLeftColumnId, int scale )
Parameters
- filename
- The path for the image file that will be added.
- topLeftRowId
- The Id of the row where the top left corner of the picture will be located once it is inserted in the worksheet.
- topLeftColumnId
- The Id of the column where the top left corner of the picture will be located once it is inserted in the worksheet.
- scale
- The scale of the image.
The values start at 0 and represent a percentage. The default value is 100, which stands for 100%.