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+
Row

Picture Interface

An image embedded in a worksheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public interface Picture : Shape, FloatingObject, ShapeFormatBase
Public Interface Picture
    Inherits Shape, FloatingObject, ShapeFormatBase
public interface Picture : Shape, FloatingObject, ShapeFormatBase
Public Interface Picture
    Inherits Shape, FloatingObject, ShapeFormatBase

Remarks

Use the PictureCollection.AddPicture method to insert an image in a worksheet. All pictures in a worksheet are contained within the PictureCollection accessible via the Worksheet.Pictures method. Each picture is assigned a default name (Picture0, Picture1 etc.) when you add it to the Shapes collection. To give the picture a more meaningful name, use the Shape.Name property.

To obtain a picture from a collection, use either the PictureCollection.GetPictureById, or the PictureCollection.GetPicturesByName method.

A Picture object possesses the functionality of a Shape object, and provides you with characteristics of an original image, such as Picture.OriginalHeight, Picture.OriginalWidth, Picture.ImageFormat.

See Also