FormElement

FormElement class

Represents Form structure element in logical structure.

The FormElement type exposes the following members:

Properties

NameDescription
parent_elementNone
child_elementsNone
default_attribute_ownerGets
attributesGets
structure_typeGets type of structure element.
idGets the ID for structure element.
titleGets or sets the title for structure element.
languageGets or sets the language for structure element.
alternative_textGets or sets the alternative text for structure element.
expansion_textGets or sets the expansion text for structure element.
actual_textGets or sets the actual text for structure element.

Methods

NameDescription
set_image(image_src, image_resolution)Appends image to current illustration element.
set_image(image_src, image_width, image_height)Appends image to current illustration element.
append_child(element)None
change_parent_element(new_parent_element)Change parent element for current structure element
generate_id()Generate ID for structure element.
set_id(id)Sets ID for structure element.
clear_id()Clear ID for structure element.
set_tag(new_tag)Sets custom tag for structure element.

See Also