int Height { get; set; }

robot_2Generated
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, encoding, or processing the image data.

Example

// Example of using the Height property

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

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

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

// Output the height
// Note: Avoid using Console.WriteLine in Sandbox
// Instead, use appropriate logging or debugging tools
// Debug.Log($"The height of the bitmap is: {bitmapHeight}");