[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPictureFormat.Type

Type Property

Type

Returns the image type of the specified picture.

Use this method to determine the picture format, such as PNG, JPG, or SVG, for a picture shape.

Declaration
ImageType Type { get; }
ReadOnly Property Type As ImageType
Examples
worksheet.Range["A1:B2"].Value = new object[,] {{"Name", "Value"}, {"Test", 100}};
IShape picture = worksheet.Shapes.AddCameraPicture("=$A$1:$B$2", 20, 20);
IPictureFormat pictureFormat = picture.PictureFormat;
ImageType type = pictureFormat.Type;