int Height { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Height property of the Bitmap class represents the vertical dimension of the bitmap in pixels. It is an integer value that indicates how many pixels tall the bitmap is.

Usage

To access the height of a bitmap, use the Height property on an instance of the Bitmap class. This property is read-only and provides the current height of the bitmap.

Example

// Example of accessing the Height property
Bitmap myBitmap = new Bitmap();
int bitmapHeight = myBitmap.Height;

// Output the height of the bitmap
// Note: Replace with appropriate logging or UI display method
// e.g., Debug.Log(bitmapHeight);