Message 1 of 2
Proplem to Set scale of Picture Box for Zoom and Resize From??

Not applicable
12-05-2003
06:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all I am using VB for CAD
I am using Picture Box to Drawing preview.
I have problem to set scale of Picture Box for Accurate Display.
I did this
Pic.scale (-MinX,-MinY)-(MaxX,MaxY)
But when resize the picture box it goes X axis short and Y axis long
Or some time X axis long and y axis short.
I could not make actual scale for picture Box. Zoom proposed also.
Will any one give me any idea to solve my problem?
Or is there any other way to do this.
Please Help me.
Thank for Help
Amrit
I am using Picture Box to Drawing preview.
I have problem to set scale of Picture Box for Accurate Display.
I did this
Pic.scale (-MinX,-MinY)-(MaxX,MaxY)
But when resize the picture box it goes X axis short and Y axis long
Or some time X axis long and y axis short.
I could not make actual scale for picture Box. Zoom proposed also.
Will any one give me any idea to solve my problem?
Or is there any other way to do this.
Please Help me.
Thank for Help
Amrit