|
|
Sets the drawing scale for how the next object added will be placed on the view.
Syntax
FlpGrf.ObjectScaleType( XScaleType As Integer, YScaleType As Integer )
The ObjectScaleType Method has these parts:
|
Part |
Description |
|
FlpGrf |
An object expression that evaluates the Flipper Graph ASP object. |
|
XScaleType |
Scale type for Left and Right positioning (see below). |
|
YScaleType |
Scale type for Top and Bottom positioning (see below). |
Settings for type
|
Value |
Description | |
|
flpPercentOfView |
0 |
Percent of view ( 0 to 100) |
|
flpXorY1Scale |
1 |
Position according to the graph scales. Scale the Left and Right positions according to the x-axis. Top and Bottom will be scaled to the y1-axis |
|
flpY2Scale |
2 |
as above, except scaled to y2-axis |
|
flpTwips |
3 |
Twips (1440 in an inch) |
|
flpPercentOfGraphFrame |
4 |
Percent of graph frame (0 to 100) |
|
flpPixels |
5 |
Absolute pixel positions |
Example
Remarks
Sets the scale that the positioning coordinates for objects is based on. For example,
FlpGrf.ObjectRectAdd 1, 0, 0, 100, 50
would base the horizontal and vertical positioning coordinates as percentages of the view, and a rectangle would be drawn in the top half of the control. Another example:
FlpGrf.ObjectRectAdd 1, 0, 0, 1440, 1440
Here, the horizontal and vertical scales have been set to twips, so the rectangle is created in the
top left of the control, and is one inch wide and tall.
See Also
![]() |
Last modified on: Friday, August 16, 2002