3个回答
展开全部
PictureBox1.Point(x, y),注意x,y的单位是Picture1.ScaleMode决定的,要转换为像素,需要使用ScaleX,ScaleY转换,即
x=PictureBox1.ScaleX(x, PictureBox1.ScaleMode,VBPixels)y=PictureBox1.ScaleY(y, PictureBox1.ScaleMode,VBPixels)
lColor=PictureBox1.Point(x, y)
x=PictureBox1.ScaleX(x, PictureBox1.ScaleMode,VBPixels)y=PictureBox1.ScaleY(y, PictureBox1.ScaleMode,VBPixels)
lColor=PictureBox1.Point(x, y)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询