General discussion

Locked

Visual Basic Command

By angelis ·
I 'd like to Know the meaning of the "scale" command

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Visual Basic Command

by Jay Eckles In reply to Visual Basic Command

Scale is a method of the Printer object. According to my VB book it "Determines the scale used for measuring output."

Good luck.

Jay Eckles
www.jayeckles.com

Collapse -

Visual Basic Command

by angelis In reply to Visual Basic Command

The question was auto-closed by TechRepublic

Collapse -

Visual Basic Command

by sl-campbell In reply to Visual Basic Command

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.

Collapse -

Visual Basic Command

by sl-campbell In reply to Visual Basic Command

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

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

Collapse -

Visual Basic Command

by angelis In reply to Visual Basic Command

The question was auto-closed by TechRepublic

Collapse -

Visual Basic Command

by angelis In reply to Visual Basic Command

This question was auto closed due to inactivity

Back to Web Development Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums