The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ShapeCollection.AddPicture Method

Name Parameters Description
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, CellRange) image, targetRange

Obsolete. Inserts an image to fit in the specified range.

AddPicture(Image, CellRange, Boolean) image, targetRange, lockAspectRatio

Obsolete. Inserts an image to fit in the specified range allowing you to lock the aspect ratio.

AddPicture(Image, Single, Single) image, x, y

Obsolete. Inserts a picture from the Image object at the specified location.

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, 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(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, CellRange) imageSource, targetRange

Obsolete. Inserts a picture from the SpreadsheetImageSource object to fit in the specified range.

AddPicture(SpreadsheetImageSource, CellRange, 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, Single, Single) imageSource, x, y

Obsolete. Inserts a picture from the SpreadsheetImageSource object at the specified location.

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, 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(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, CellRange) filename, targetRange

Obsolete. Inserts a picture from a file to fit in the specified range.

AddPicture(String, CellRange, 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, Single, Single) filename, x, y

Obsolete. Inserts a picture from a file at the specified location.

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, 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.