Skip to main content
All docs
V24.2

DXBitmap Members

Encapsulates a bitmap which consists of the pixel data for a graphics image and its attributes.

Constructors

Name Description
DXBitmap(Int32, Int32) Initializes a new instance of the DXBitmap class with specified settings.

Properties

Name Description
Height Gets the height of the image in pixels. Inherited from DXImage.
HorizontalResolution Gets the horizontal resolution of the image in pixels per inch. Inherited from DXImage.
ImageFormat Gets the image format. Inherited from DXImage.
Size Gets the width and height of the image in pixels. Inherited from DXImage.
VerticalResolution Gets the vertical resolution of the image in pixels per inch. Inherited from DXImage.
Width Gets the width of the image in pixels. Inherited from DXImage.

Methods

Name Description
Clone() Clones the current DXBitmap object.
Crop(Rectangle) Crops the bitmap to the specified rectangle.
Crop(RectangleF) Crops the bitmap to the specified rectangle.
Dispose() Releases all resources used by the DXImage object. Inherited from DXImage.
Equals(DXBitmap) Determines whether the specified object is equal to the current DXBitmap instance.
Equals(DXImage) Determines whether the specified object is equal to the current DXImage instance. Inherited from DXImage.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current DXBitmap instance.
FromBase64String(String) static Creates an image from the specified binary string that contains the image data. Inherited from DXImage.
FromStream(Stream) static Creates an image from the specified stream that contains the image data. Inherited from DXImage.
GetHashCode() Gets a hash code for the DXBitmap object.
GetPixel(Int32, Int32) Gets the color of the specified pixel.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RotateFlip(DXRotateFlipType) Rotates and flips the image.
Save(Stream, DXImageFormat) Saves the image to the specified stream in the specified format. Inherited from DXImage.
Save(Stream) Saves the image to the specified stream. Inherited from DXImage.
Save(String, DXImageFormat) Saves the image to the specified file in the specified format. Inherited from DXImage.
SetResolution(Single, Single) Sets the resolution of this DXBitmap object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also