PictureBox.Height Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the height of the PictureBox.
public:
property float Height { float get(); void set(float value); };
public float Height { get; set; }
member this.Height : single with get, set
Public Property Height As Single
Property Value
The height of the PictureBox in points.
Examples
For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Word.Controls.Button.Height. All controls in the Microsoft.Office.Tools.Word.Controls namespace have a functionally equivalent Height
property.
Remarks
Changes made to the Height and Top property values cause the Bottom property value of the PictureBox to change.
The Microsoft.Office.Tools.Word.Controls.PictureBox.Height property uses points, whereas System.Windows.Forms.Control.Height property uses pixels.