Hi,
The correct way to set the size for a frame is this:
Call GRAPHObjOpen("FreeFrame1")
AREALINEPT(1) =20.19
AREALINEPT(2) =27.27
AREALINEPT(3) =56.23
AREALINEPT(4) =79.88
Call GRAPHObjClose("FreeFrame1")
Here is the description of the AreaLinePt variable from the latest DIAdem help file, the description in version 9.0 is not that great:
Variable: AreaLinePt
Specifies the distance between rectangles and the edge of a page in DIAdem REPORT, as a percentage of the page area, in centimeters or inches.
Definition AreaLinePt(i), Real variable
i = 1 ... 4
0 <= AreaLinePt <= PicObjMaxSize
The AreaLinePt uses the i index to specify the distance of all four frame sides:
i = 1 Specifies the distance between the bottom left c
orner and the left side of the page.
i = 2 Specifies the distance between the bottom left corner and the bottom of the page.
i = 3 Specifies the distance between the top right corner and the left side of the page.
i = 4 Specifies the distance between the top right corner and the bottom of the page.
If you select the same values for the parallel sides AreaLinePt(1) and AreaLinePt(3) or AreaLinePt(2) and AreaLinePt(4), DIAdem displays the rectangle as a vertical or horizontal line.
Hope this helps. Please let me know if you have additional questions,
Otmar
Otmar D. Foehner