[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ImageType

ImageType Enum

Specifies the image format used by APIs that import, fill, or export images.

Use this enum to indicate the format of image data when working with drawing-related APIs, such as adding a picture from a stream or exporting a shape as an image.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum ImageType
Public Enum ImageType
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 80, 40);
using MemoryStream stream = new MemoryStream();
shape.ToImage(stream, ImageType.PNG);

Fields

Name Description
EMF

Indicates an emf image.

GIF

Indicates a gif image.

ICO

Indicates a ico image.

JPEG

Indicates a jpeg image.

JPG

Indicates a jpg image.

PNG

Indicates a png image.

SVG

Indicates an svg image.

WMF

Indicates a wmf image.