HtmlGenerator

HtmlGenerator class

Html generator.

The HtmlGenerator type exposes the following members:

Properties

NameDescription
slide_image_sizeReturns slide image size.
Read-only aspose.pydrawing.SizeF.
slide_image_size_unitReturns a unit in which slide image size is specified.
Read-only SvgCoordinateUnit.
slide_image_size_unit_codeReturns a css code of unit in which slide image size is specified.
Read-only string.
previous_slide_indexReturns index of previously rendered slide or -1 if first slide is rendering.
Read-only
slide_indexReturns index of currently rendering slide.
Read-only
next_slide_indexReturns index of a slide, which will be rendered after the current slide or -1 if currently rendering last slide.
Read-only

Methods

NameDescription
add_html(html)Adds formatted HTML text.
add_html(html)Adds formatted HTML text.
add_html(html, start_index, length)Adds formatted HTML text.
add_text(text)Adds plain text to the html files, replacing special characters with html entities.
Linebreaks and whitespaces aren’t replaced.
add_text(text)Adds plain text to the html files, replacing special characters with html entities.
Linebreaks and whitespaces aren’t replaced.
add_text(text, start_index, length)Adds plain text to the html files, replacing special characters with html entities.
Linebreaks and whitespaces aren’t replaced.
add_attribute_value(value)Quotes attribute value and adds it to the html file.
add_attribute_value(value)Quotes attribute value and adds it to the html file.
add_attribute_value(value, start_index, length)Quotes attribute value and adds it to the html file.

See Also