Discussion Locked

Visual Basic Command

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I 'd like to Know the meaning of the "scale" command

6 replies

by sl-campbell

It defines the coordinate system for a form, picturebox or printer object, user control or document, or a property page, and uses the following syntax:

Object.Scale (x1, y1) - (x2, y2)

"Object" being the form, PictureBox or printer object.

"x1,y1" being the horizontal and vertical coordinates for the top-left.

"x2,y2" being the horizontal and vertical coordinates for the bottom-right

You use the Scale to change the dimensions of the coordinate system to the size that you want.Using Scale with the arguments will change the coordinate system back to Twips.

Also look for help on ScaleMode, ScaleHeight, ScaleWidth, ScaleLeft and ScaleTop.

by sl-campbell

Sorry, the line
"Using Scale with the arguments ..."
should read:

"Using Scale with-OUT the arguments ..."

This discussion is closed to new replies.