example of auto resizing element:
code:
<Element xsi:type="LineElement" Id="BottomLine">
<Position Top="313" Left="1" Width="188" Height="0">
<Anchor Horizontal="LeftRightFixed" />
</Position>
<Color>
<GlobalColor>label</GlobalColor>
</Color>
</Element>
options for Anchor:
Horizontal
-LeftFixed
-RightFixed
-LeftRightFixed
Vertical
-TopFixed
-BottomFixed
-TopBottomFixed