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

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

Anonymous
Not applicable
252 Views
1 Reply
Message 1 of 2

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

Anonymous
Not applicable
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
0 Likes
253 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
I know nothing about it, so I dont' know why you're "minusing" the min
values?

> Pic.scale (-MinX,-MinY)-(MaxX,MaxY)

theres no chance its like this is there?
Pic.scale (MinX,MinY)-(MaxX,MaxY)????

sorry, just a wild guess

"Amrit" wrote in message
news:3ED2BEDCB35312A27B16688E40ED402B@in.WebX.maYIadrTaRb...
> Hi all I am using VB for CAD
>
0 Likes