The IDocumentElement type exposes the following members.

Methods

  NameDescription
AddChildElement
Subscribes child element to events of this element. Returns an object that must be stored by child element and is used later in the RemoveChildElement method to quickly unsubscribe child element from events notification.
GetContentHeightMm
Returns a height of a content area of an element.
GetContentWidthMm
Returns a width of a content area of an element.
GetDefaultUnit
Returns default unit of measurement of an element.
GetDefaultUnitOfFrames
Returns default unit of frames (i.e. padding/spacing)
GetFont
Returns a font of an element. Necessary for the Em/Ex calculations.
GetParent
Returns a parent element or null.
GetStyles
Returns a collection of elements styles. In the current design there are only two styles in a collection, "own" and "StyleTableCell"
RemoveChildElement
Unsubscribes child element from events of this element. Child element is identified by the cookie parameter where a value returned by the AddChildElement method must be passed.

See Also