Bitmap.Width Property

Gets the width, in pixels, of this bitmap.

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

Syntax

C#
public int Width { get; }

Property Value

The width, in pixels, of this bitmap.

Implements

IImageParams.Width

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