Table of Contents

Class Bitmap

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Encapsulates a bitmap, which consists of the pixel data for a graphics image and its attributes. A Bitmap is an object used to work with images defined by pixel data.

public class Bitmap : Image, IBaseObject, IDisposableObject, IDisposable, INotifyPropertyChanged
Inheritance
Bitmap
Implements

Constructors

Bitmap()

Initializes a new instance of the Bitmap class.

Bitmap(GenericImage, Graphics)

Creates a bitmap compatible with the given Graphics from the given GenericImage.

Bitmap(GenericImage, int)

Initializes a new instance of the Bitmap class from the specified GenericImage.

Bitmap(IImageHandler)

Initializes a new instance of the Bitmap class.

Bitmap(Image)

Initializes a new instance of the Bitmap class from the specified existing image.

Bitmap(Image, SizeI)

Initializes a new instance of the Bitmap class from the specified existing image, scaled to the specified size.

Bitmap(SizeI, Control)

Initializes a new instance of the Bitmap class with the specified size amd scaling factor from the control.

Bitmap(SizeI, int)

Initializes a new instance of the Bitmap class with the specified size in device pixels.

Bitmap(ImageSet, SizeI)

Initializes a new instance of the Bitmap class with the image from ImageSet.

Bitmap(ImageSet, Control)

Initializes a new instance of the Bitmap class with the image from ImageSet.

Bitmap(double, double)

Initializes a new instance of the Bitmap class with the specified size in device pixels.

Bitmap(Stream?)

Initializes a new instance of the Bitmap class from the specified data stream.

Bitmap(Stream, BitmapType)

Initializes a new instance of the Bitmap class from a stream.

Bitmap(int, int, Graphics)

Creates a bitmap compatible with the given Graphics, inheriting its magnification factor.

Bitmap(int, int, int)

Initializes a new instance of the Bitmap class with the specified size in device pixels.

Bitmap(string?, Uri?)

Initializes a new instance of the Bitmap class.

Properties

Empty

Gets an empty bitmap.

Operators

explicit operator Bitmap(GenericImage)

Converts the specified GenericImage to a Bitmap.