Sets the size and position of the frame.
Syntax: |
---|
DlxFrame.SetRectangle(rect) DlxFrame.SetRectangle(x, y, width, height) DlxFrame.SetRectangle(point, width, height) |
Parameters
Parameter | Description |
---|---|
rect | A DlxRect object that specify the rectangle. |
x | Horizontal position of the bottom left corner of the rectangle. |
y | Vertical position of the bottom left corner of the rectangle. |
width | A positive value that defines the width of the rectangle. |
height | A positive value that defines the height of the rectangle. |
point | A DlxPoint object with coordinates specifying the lower left corner of the rectangle. |
Return Value
If the operation ends correctly it returns true otherwise it returns false.
Example
Copy code | |
---|---|
|