SaveFormat
LoadSaveOptions.SaveFormat property
Gets or sets a file format to save an assembled document to. Unspecified is the default.
public FileFormat SaveFormat { get; set; }
Remarks
When the value of this property is not specified, DocumentAssembler
behaves as follows:
-
When you specify a file path to save an assembled document, the save file format is determined upon file extension from the path.
-
When you specify a stream to save an assembled document, the save file format remains the same as the file format of a loaded template document.
Beware that it is not always possible to save an assembled document to any file format using GroupDocs.Assembly. For example, it is impossible to save a document loaded from a Word Processing file format (such as DOCX) to a Spreadsheet file format (such as XLSX). For more information on possible combinations of load and save file formats supported by GroupDocs.Assembly, please check GroupDocs.Assembly online documentation.
See Also
- enum FileFormat
- class LoadSaveOptions
- namespace GroupDocs.Assembly
- assembly GroupDocs.Assembly