Save

Save(EditableDocument, Stream, ISaveOptions)

Converts specified edited document, represented as instance of ‘EditableDocument’, to the resultant document of specified format and saves its content to specified stream

public void Save(EditableDocument inputDocument, Stream outputDocument, ISaveOptions saveOptions)
Parameter Type Description
inputDocument EditableDocument Version of the input document, that was edited in WYSIWYG HTML-editor and is stored as instance of ‘EditableDocument’ class, which should be converted to output document of some specific format. Must not be null or disposed.
outputDocument Stream Output stream, in which the content of the resultant document will be recorded. Must not be null, disposed, must support writing.
saveOptions ISaveOptions Document saving options, which define the format of the resultant document, and also general and format-specific saving options. Must not be null.

Remarks

Learn more

See Also


Save(EditableDocument, string, ISaveOptions)

Converts specified edited document, represented as instance of ‘EditableDocument’, to the resultant document of specified format and saves its content to file by specified file path

public void Save(EditableDocument inputDocument, string filePath, ISaveOptions saveOptions)
Parameter Type Description
inputDocument EditableDocument Version of the input document, that was edited in WYSIWYG HTML-editor and is stored as instance of ‘EditableDocument’ class, which should be converted to output document of some specific format. Must not be null or disposed.
filePath String Path to the file, in which the output document will be saved. It file with the same name exists, it will be completely rewritten. String with path must not be null, empty or contain only whitespaces.
saveOptions ISaveOptions Document saving options, which define the format of the resultant document, and also general and format-specific saving options. Must not be null.

Remarks

Learn more

See Also