Click or drag to resize
ImageSaveOptions Constructor
Initializes a new instance of the ImageSaveOptions class.

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1000
Syntax
public ImageSaveOptions()
Examples

Following code demonstrates how to save ExcelFile to image.

// Save first page of the active sheet to .gif image format
ef.Save("Image.gif");

// Save sheet to .jpeg image format. Image will have dimensions: 1024px * 800px
ef.Save("Image.jpeg", new ImageSaveOptions()
{
    Width = 1024,
    Height = 800
});
See Also