Bitmap Members

The Bitmap type exposes the following members.

Constructors

Name Description
Public method Bitmap Overloaded.

Initializes a new instance of the Bitmap class.

Methods

Name Description
Public method ApplyTransform

Applies the specified transfrom to this bitmap.

Public method Dispose

Releases all resources used by this PipelineElement.

(Inherited from PipelineElement.)
Public method Draw Overloaded.

Draws the specified Bitmap on the current bitmap.

Public method DrawOn Overloaded.

Draws a bitmap on various surfaces as Bitmap or Graphics classes, or Windows GDI device context.

Public method Equals (Inherited from Object.)
Public method Fill

Fills the current bitmap with the specified color.

Protected method Finalize (Inherited from Object.)
Public method Static member FromClipboard

Creates a Bitmap from the clipboard.

Public method Static member FromHdc

Creates a Bitmap from the specified device context.

Public method GetAdvancedGraphics

Gets the Graphics object associated with this Bitmap.

Public method GetGdiPlusGraphics Obsolete.

Gets the System.Drawing.Graphics object associated with this Bitmap.

Public method GetGraphics Obsolete.

Gets the Graphics object associated with this Bitmap.

Public method GetHashCode (Inherited from Object.)
Public method GetObjectData

Populates a SerializationInfo with the data needed to serialize the Bitmap object.

Public method GetPixel

Gets the color of the specified pixel in this Bitmap.

Public method GetType (Inherited from Object.)
Public method IsPixelFormatSupported

Verifies whether the specified pixel format is supported by this PipelineElement.

(Inherited from PipelineElement.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RunPipeline

Runs a pipeline staring from this PipelineElement.

(Inherited from PipelineElement.)
Public method Save Overloaded.

Saves the bitmap to the specified file.

Public method SaveToClipboard

Saves the bitmap into the clipboard.

Public method SetPixel

Sets the color of the specified pixel in this Bitmap.

Public method ToGdiPlusBitmap

Gets the System.Drawing.Bitmap containing a copy of the image stored in this Bitmap.

Public method ToString (Inherited from Object.)

Operators

Name Description
Public operator Static member Explicit Explicit Overloaded.

Properties

Name Description
Public property Channels

Gets an object which provides access to various operations with bitmap channels.

Public property ColorAdjustment

Gets an object providing methods which are responsible for color adjustment and tone correction (brightness/contrast, levels, hue/saturation/lightness adjustment, etc.).

Public property ColorManagement

Gets an object providing methods which are responsible for color management.

Public property ColorProfile

Gets or sets a color profile associated with this bitmap.

Public property DpiX

Gets or sets the horizontal resolution, in pixels per inch, of this bitmap.

Public property DpiY

Gets or sets the vertical resolution, in pixels per inch, of this bitmap.

Public property Handle

Gets a GDI handle to this bitmap (HBITMAP).

Public property HasAlpha

Gets a value indicating whether the current pixel format supports alpha channel (information about opacity of pixels).

Public property Height

Gets the height, in pixels, of this bitmap.

Public property Id

Gets or sets a unique identifier of this PipelineElement.

(Inherited from PipelineElement.)
Public property IsEmpty

Gets a value indicating whether this bitmap is empty (no bitmap data loaded).

Public property Palette

Gets a palette associated with this bitmap.

Public property PixelFormat

Gets a pixel format of the current bitmap.

Public property Receivers

Gets a collection of pipeline elements that will receive the result of this PipelineElement.

(Inherited from PipelineElement.)
Public property Scan0

Gets the pointer to the very first pixel of this bitmap.

Public property Statistics

Gets an object providing methods which retrieve bitmap statistics (like histogram, etc).

Public property Stride

Gets the width (in bytes) of the scan line.

Public property SupportedPixelFormats

Gets a collection of pixel formats that are supported by this PipelineElement.

(Inherited from PipelineElement.)
Public property Transforms

Gets an object providing methods which are responsible for geometric transformations of the bitmap (resize, rotate, crop, etc).

Public property Width

Gets the width, in pixels, of this bitmap.

Events

Name Description
Public event OnInit

Occurs when the pipeline element is initialized.

(Inherited from PipelineElement.)

See Also

Reference