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:
public ImageSaveOptions()

Following code demonstrates how to save ExcelFile to image.

// Save first page of the active sheet to .gif image format

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