ObjectRectAdd Method

AxisShadeRange Method

Introduction

 

ObjectScaleType Method images/cons0001.png


 

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

Constant

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

Example

Remarks

Sets the scale that the positioning coordinates for objects is based on. For example,

 

FlpGrf.ObjectScaleType 0, 0
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.ObjectScaleType 3, 3
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

All Object Routines



ObjectRectAdd Method AxisShadeRange Method

 

 

Last modified on: Friday, August 16, 2002