The IDocumentElement type exposes the following members.
Methods
Name | Description | |
---|---|---|
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.
|
Properties
Name | Description | |
---|---|---|
IsRootElement |
TODODOC:
|
Events
Name | Description | |
---|---|---|
DefaultUnitChanged |
Raised when a value of GetDefaultUnit() was changed.
| |
DefaultUnitOfFramesChanged |
Raised when a value of GetDefaultUnitOfFrames() was changed.
| |
PhysicalSizeChanged |
Raised when physical size of element has changed.
E.g., this event will be raised when width of element expressed in
percents and width of a parent control has changed.
|