Bitmap.Height Property

Gets the height, in pixels, of this bitmap.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public int Height { get; }

Property Value

The height, in pixels, of this bitmap.

Examples

C#
Console.WriteLine("Bitmap: " + bitmap.Width + "x" + bitmap.Height);
Console.WriteLine("  Has Aplha: " + bitmap.HasAlpha);
Console.WriteLine("  PixelFormat: " + bitmap.PixelFormat.ToString());
Console.WriteLine("  CMYK: " + bitmap.PixelFormat.IsCmyk);
Console.WriteLine("  GrayScale: " + bitmap.PixelFormat.IsGrayscale);
Console.WriteLine("  RGB: " + bitmap.PixelFormat.IsRgb);
Console.WriteLine("  Indexed: " + bitmap.PixelFormat.IsIndexed);
Console.WriteLine("  Extended: " + bitmap.PixelFormat.IsExtended);

See Also

Reference