|
|
Adds a graphic shape to the view.
Syntax
ObjectNumber = FlpGrf.ObjectRectAdd( Type As Integer, Left As Integer, Top As Integer, Right As Integer, Bottom As Integer )
The ObjectRectAdd Method has these parts:
|
Part |
Description |
|
FlpGrf |
An object expression that evaluates the Flipper Graph ASP object. |
|
Type |
Type of shape to add (see below). |
|
Left |
Left position based of the current ObjectScaleType x-scale setting. |
|
Top |
Top position based of the current ObjectScaleType y-scale setting. |
|
Right |
Right position based of the current ObjectScaleType x-scale setting. |
|
Bottom |
Bottom position based of the current ObjectScaleType y-scale setting. |
Settings for Type
|
Value |
Description | |
|
flpRectangleShape |
1 |
Rectangle |
|
flpRoundRectShape |
2 |
Rounded rectangle |
|
flpLineShape |
3 |
Line |
|
flpEllipseShape |
4 |
Ellipse |
|
flpLineArrowheadStart |
5 |
Line with an arrowhead at it's start |
|
flpLineArrowheadEnd |
6 |
Line with an arrowhead at it's end |
|
flpLineArrowheadBoth |
7 |
Line with an arrowhead at both ends |
Example
Remarks
This method adds a graphic shape to the view. The edge color, line width, and line pattern are set with the last setting of the ObjectPen method. The fill pattern and filled color are set with the last setting of the ObjectBrush method.
See Also
All Object Routines, ObjectTextAdd Method, ObjectTextAddRect Method, ObjectPictAdd Method
![]() |
Last modified on: Friday, August 16, 2002