开发者

Length property for PictureBox not working

开发者 https://www.devze.com 2023-01-12 05:37 出处:网络
I am trying to use: PictureBox1.Length but I get the following error: Error 3 \'System.Windows.Forms.PictureBox\' does n开发者_如何学Goot contain a definition for \'Length\' and no extension meth

I am trying to use:

PictureBox1.Length

but I get the following error:

Error 3 'System.Windows.Forms.PictureBox' does n开发者_如何学Goot contain a definition for 'Length' and no extension method 'Length' accepting a first argument of type 'System.Windows.Forms.PictureBox' could be found (are you missing a using directive or an assembly reference?)


Use .Height and .Width properties.


The PictureBox control does not have a Length Property. Here is a list of all properties for a PictureBox. What are you trying to do?

You might want to look at Height and Width

0

精彩评论

暂无评论...
验证码 换一张
取 消