Click or drag to resize

FormattedExcelDrawingSave Method (String)

Saves the drawing to a file with the specified path. Path must include file extension.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version:
public void Save(
	string path


Type: SystemString
The path to which to save the drawing.
ArgumentExceptionIf file extension is not specified or not supported. If file extension is not recognized, use Save(String, SaveOptions) method overload instead.
File extension that is extracted from the path is used to create the appropriate SaveOptions derived class instance that is then passed to the Save(String, SaveOptions) method.

Following file extensions are supported:

  • Portable Document Format: .pdf
  • XML Paper Specification: .xps
  • Portable Network Graphics: .png
  • Joint Photographic Experts Group: .jpeg, .jpg
  • Bitmap: .bmp
  • Tagged Image File Format: .tiff, .tif
  • Windows Media Photo: .wdp
See Also