int Height { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Height property of the FloatBitmap 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

Use the Height property to retrieve or set the height of a FloatBitmap instance. This property is useful when you need to know the size of the bitmap for operations such as resizing or encoding.

Example

// Example of using the Height property

// Create a new FloatBitmap instance
FloatBitmap floatBitmap = new FloatBitmap();

// Set the height of the bitmap
floatBitmap.Height = 256;

// Retrieve the height of the bitmap
int bitmapHeight = floatBitmap.Height;

// Output the height
// Note: Use a logging system or UI element to display the height
// Example: Log.Info($"Bitmap Height: {bitmapHeight}");