Jump to content
Xtreme .Net Talk

Picturebox Scale method


Recommended Posts

Guest mcerk
Posted

Hi in VB6 there was a picturebox scale method.

 

I have a picturebox loaded wint a map of my country.

 

In VB6 I changed picturebox's coordinate system with scale method.

 

I need that, becouse this is a geotechnical coordiate system and every data I have to draw on this map is written in this system.

 

But help says that there is no eqvivalent to this method. That the only coordinate system in picturebox is default one (with pixels).

 

I could write a procedure to convert pixels to this system, but what if I resize picturebox?

 

I used this coordinate system:

Picture1.Scale (375050, 194050)-(624250, 29850)

 

Please help...

 

Thank you.

 

 

Matej

Guest mcerk
Posted

ok thank you

 

I'll change it with some mathematics then :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...