Enum SaveFormat

Enum SaveFormat

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Represents the format in which the workbook is saved.

public enum SaveFormat

Fields

Auto = 0

If saving the file to the disk,the file format accords to the extension of the file name. If saving the file to the stream, the file format is xlsx.

Azw3 = 773

Represents Azw3 file.

Bmp = 263

Windows Bitmap

Csv = 1

Comma-Separated Values(CSV) text file.

Dbf = 515

Xbase Data file

Dif = 30

Data Interchange Format.

Docx = 62

Represents .docx file.

Emf = 258

Windows Enhanced Metafile.

Epub = 772

Represents Epub file.

Excel97To2003 = 5

Represents an Excel97-2003 xls file.

Fods = 59

Represents OpenDocument Flat XML Spreadsheet (.fods) file format.

Gif = 322

Gif

Html = 12

Represents a html file.

Jpg = 261

JPEG JFIF.

Json = 513

Json

MHtml = 17

Represents a mhtml file.

Markdown = 57

Represents markdown document.

Numbers = 56

Represents a numbers file.

Not supported.

Ods = 14

Open Document Sheet(ODS) file.

Ots = 31

Open Document Template Sheet(OTS) file.

Pcl = 1025

PCL (Printer Command Language)

Pdf = 13

Represents a Pdf file.

Png = 262

Portable Network Graphics.

Pptx = 61

Represents .pptx file.

SpreadsheetML = 15

Represents an Excel 2003 xml file.

SqlScript = 514

Sql

Svg = 28

SVG file.

Sxc = 60

Represents StarOffice Calc Spreadsheet (.sxc) file format.

TabDelimited = 11

Represents a tab delimited text file, same with Aspose.Cells.SaveFormat.Tsv.

Tiff = 21

Represents a TIFF file.

Tsv = 11

Tab-Separated Values(TSV) text file.

Unknown = 255

Represents unrecognized format, cannot be saved.

XHtml = 771

Rrepesents XHtml file. please use Aspose.Cells.HtmlSaveOptions.HtmlVersion property. This property will be removed 6 months later since March 2025. Aspose apologizes for any inconvenience you may have experienced.

Xlam = 10

Represents an xltm file which enable addin macros.

Xlsb = 16

Represents an xlsb file.

Xlsm = 7

Represents an xlsm file which enable macros.

Xlsx = 6

Represents an xlsx file.

Xlt = 32

Excel 97-2003 template file.

Xltm = 9

Represents an xltm file which enable macros.

Xltx = 8

Represents an xltx file.

Xml = 51

Represents a simple xml file.

Xps = 20

XPS (XML Paper Specification) format.