to_html method

to_html(file_name, options)

Creates the html and saves it to a file.

def to_html(self, file_name, options):
    ...
Parameter Type Description
file_name str
options aspose.diagram.saving.HTMLSaveOptions html 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):
    ...
Parameter Type Description
stream io.RawIOBase The output stream.
options aspose.diagram.saving.HTMLSaveOptions Addtional html creation options

See Also