Skip to main content

AccessTr.neT


Pset kullanımı

Pset kullanımı

Çözüldü #6
burada soru cevap şeklinde bir şeyler anlatılmış ama anlayana
yardımcı olabilirmisiniz
teşekkürler

Hi all,

I have a picturebox with a customized Scale and I want to plot a point on
it.
In the old VB6 it was very simple :

Picturebox1.Scale (-0.5,0.5)-(0.5,-0.5) ' customized scale coordinates in my
sample
Picturebox1.Pset (x,y), color

Now (after same searching) I found the method to set a customized Scale in
VB.NET (ScaleTransform and TranslateTransform)
but 'm not able to draw the Points.
I can draw Lines,rectangles in such scale without any problems but not
Points.
For example in my scale how to draw a Point in the (0.1, 0.2)
position/coordinates?

I tried to utilize the Drawline method with the same initial and final x,y
line coordinates but it doesn't work.
The same happens with Drawrectangle.
Setpixel method seems working only with integer numbers (pixels) while I
have different scale (numbers are <1)

Thanks for any help.

Massimo




Draw a rectangle with a non-zero width and height.

"Massimo Riccardi" <[email protected]> wrote in message
news:4b65a83a$0$1107$[email protected]...
> Hi all,
>
> I have a picturebox with a customized Scale and I want to plot a point on
> it.
> In the old VB6 it was very simple :
>
> Picturebox1.Scale (-0.5,0.5)-(0.5,-0.5) ' customized scale coordinates in
> my sample
> Picturebox1.Pset (x,y), color
>
> Now (after same searching) I found the method to set a customized Scale in
> VB.NET (ScaleTransform and TranslateTransform)
> but 'm not able to draw the Points.
> I can draw Lines,rectangles in such scale without any problems but not
> Points.
> For example in my scale how to draw a Point in the (0.1, 0.2)
> position/coordinates?
>
> I tried to utilize the Drawline method with the same initial and final
> x,y line coordinates but it doesn't work.
> The same happens with Drawrectangle.
> Setpixel method seems working only with integer numbers (pixels) while I
> have different scale (numbers are <1)
>
> Thanks for any help.
>
> Massimo
>
@benbendedeilem
Son Düzenleme: 09/02/2010, 10:07, Düzenleyen: accessman.
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
Pset kullanımı - Yazar: accessman - 03/02/2010, 13:57
Cvp: Pset kullanımı - Yazar: cuneyt - 03/02/2010, 21:02
Cvp: Pset kullanımı - Yazar: accessman - 04/02/2010, 08:35
Cvp: Pset kullanımı - Yazar: accessman - 07/02/2010, 21:54
Cvp: Pset kullanımı - Yazar: accessman - 09/02/2010, 08:06
Cvp: Pset kullanımı - Yazar: accessman - 09/02/2010, 10:05
Cvp: Pset kullanımı - Yazar: esrefigit - 09/02/2010, 13:02
Cvp: Pset kullanımı - Yazar: esrefigit - 09/02/2010, 17:23
Cvp: Pset kullanımı - Yazar: esrefigit - 10/02/2010, 09:04
Cvp: Pset kullanımı - Yazar: accessman - 10/02/2010, 09:13
Task