IHtmlGenerator class

IHtmlGenerator class

Html generator.

The IHtmlGenerator type exposes the following members:

Properties

PropertyDescription
slide_image_sizeReturns slide image size.
Read-only aspose.slides.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 str.
previous_slide_indexReturns index of previously rendered slide or -1 if first slide is rendering.
Read-only int.
slide_indexReturns index of currently rendering slide.
Read-only int.
next_slide_indexReturns index of a slide, which will be rendered after the current slide or -1 if currently rendering last slide.
Read-only int.

Methods

MethodDescription
add_html(self, html)Adds formatted HTML text.
add_html(self, html)Adds formatted HTML text.
add_html(self, html, start_index, length)Adds formatted HTML text.
add_text(self, text)Adds plain text to the html files, replacing special characters with html entities.
Linebreaks and whitespaces aren’t replaced.
add_text(self, text)Adds plain text to the html files, replacing special characters with html entities.
Linebreaks and whitespaces aren’t replaced.
add_text(self, 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(self, value)Quotes attribute value and adds it to the html file.
add_attribute_value(self, value)Quotes attribute value and adds it to the html file.
add_attribute_value(self, value, start_index, length)Quotes attribute value and adds it to the html file.

See Also