Skip to main content
A newer version of this page is available.
All docs
V18.2
Row

ShapeCollection.AddPicture Method

Name Parameters Description
AddPicture(SpreadsheetImageSource, Cell) imageSource, topLeftCell Obsolete. Inserts a picture from the SpreadsheetImageSource object so that the top left corner of the picture is located at the specified cell.
AddPicture(SpreadsheetImageSource, Range, Boolean) imageSource, targetRange, lockAspectRatio Obsolete. Inserts a picture from the SpreadsheetImageSource object to fit in the specified range allowing you to lock the aspect ratio.
AddPicture(SpreadsheetImageSource, Range) imageSource, targetRange Obsolete. Inserts a picture from the SpreadsheetImageSource object to fit in the specified range.
AddPicture(SpreadsheetImageSource, Single, Single, Single, Single, Boolean) imageSource, x, y, width, height, lockAspectRatio Obsolete. Inserts a picture from the SpreadsheetImageSource object at the specified location and resize it to the specified dimensions allowing you to lock the aspect ratio.
AddPicture(SpreadsheetImageSource, Single, Single, Single, Single) imageSource, x, y, width, height Obsolete. Inserts a picture from the SpreadsheetImageSource object at the specified location and resize it to the specified dimensions.
AddPicture(SpreadsheetImageSource, Single, Single) imageSource, x, y Obsolete. Inserts a picture from the SpreadsheetImageSource object at the specified location.
AddPicture(Image, Cell) image, topLeftCell Obsolete. Inserts a picture from the Image object so that the top left corner of the picture is located at the specified cell.
AddPicture(Image, Range, Boolean) image, targetRange, lockAspectRatio Obsolete. Inserts an image to fit in the specified range allowing you to lock the aspect ratio.
AddPicture(Image, Range) image, targetRange Obsolete. Inserts an image to fit in the specified range.
AddPicture(Image, Single, Single, Single, Single, Boolean) image, x, y, width, height, lockAspectRatio Obsolete. Inserts a picture from the Image object at the specified location and resizes it to the specified dimensions allowing you to lock the aspect ratio.
AddPicture(Image, Single, Single, Single, Single) image, x, y, width, height Obsolete. Inserts an image at the specified location and resize it to the specified dimensions.
AddPicture(Image, Single, Single) image, x, y Obsolete. Inserts a picture from the Image object at the specified location.
AddPicture(String, Cell) filename, topLeftCell Obsolete. Inserts a picture from a file so that the top left corner of the picture is located at the specified cell.
AddPicture(String, Range, Boolean) filename, targetRange, lockAspectRatio Obsolete. Inserts a picture from a file to fit in the specified range allowing you to lock the aspect ratio.
AddPicture(String, Range) filename, targetRange Obsolete. Inserts a picture from a file to fit in the specified range.
AddPicture(String, Single, Single, Single, Single, Boolean) filename, x, y, width, height, lockAspectRatio Obsolete. Inserts a picture from a file at the specified location and resizes it to the specified dimensions allowing you to lock the aspect ratio.
AddPicture(String, Single, Single, Single, Single) filename, x, y, width, height Obsolete. Inserts a picture from a file at the specified location and resizes it to the specified dimensions.
AddPicture(String, Single, Single) filename, x, y Obsolete. Inserts a picture from a file at the specified location.