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
精彩评论