to_html method

to_html(file_name, options)

Creates the html and saves it to a file.

def to_html(self, file_name, options):
    ...
ParameterTypeDescription
file_namestr
optionsaspose.diagram.saving.HTMLSaveOptionshtml save options

to_html(stream, options)

Creates the shape html and saves it to a stream in the specified format.

def to_html(self, stream, options):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe output stream.
optionsaspose.diagram.saving.HTMLSaveOptionsAddtional html creation options

See Also