[]
Represents a bi-level transparency mask or an image containing two colors - black and white in either a white-is-zero or black-is-zero format.
public class BilevelBitmap : IImage, IDisposable
Public Class BilevelBitmap
Implements IImage, IDisposable
| Name | Description |
|---|---|
| BilevelBitmap(byte[], int, int, bool, bool, bool, float, float) | Initializes a new instance of the BilevelBitmap class and sets the existing pixel data to be read/modified in-place. |
| BilevelBitmap(int, int, bool, bool, bool, float, float) | Initializes a new instance of the BilevelBitmap class. |
| BilevelBitmap(IntPtr, int, int, bool, bool, bool, float, float) | Initializes a new instance of the BilevelBitmap class and sets the existing pixel data to be read/modified in-place. |
| Name | Description |
|---|---|
| DpiX | Gets the horizontal dpi of the bitmap. |
| DpiY | Gets the vertical dpi of the bitmap. |
| ExifProfile | Gets or sets an instance of ExifProfile with Exif metadata of the image. |
| IccProfileData | Gets or sets the raw ICC profile data. |
| IsDisposed | Gets a value indicating whether the BilevelBitmap has been disposed of. |
| this[int, int] | Gets or sets a pixel value (true is 1, false is 0) at the specified coordinates. |
| LowerBitsFirst | Gets or sets a value specifying whether pixels with lower column indices are stored in the lower-order bits of the byte. Setting this property causes an update to the pixel data. |
| PixelHeight | Gets the pixel height of the image. |
| PixelWidth | Gets the pixel width of the image. |
| RawData | Gets a pointer to the internal binary data. |
| Rotation | Gets the flip and rotate transformations that must be applied to the image. |
| ScanLineLength | Gets the number of bytes in one scan line. |
| TransparencyMask | Gets or sets a value indicating whether the image is used to define an irregularly shaped region of another image. |
| WhiteIsZero | Gets or sets a value indicating whether 0 represents white and 1 represents black (if true) or vice versa (if false). |
| Name | Description |
|---|---|
| ApplyLicenseKey(string) | Applies a license key to an instance of BilevelBitmap. |
| Clear(bool) | Clears the BilevelBitmap with the specified value (true is 1, false is 0). |
| Clear(bool, Rectangle) | Clears the BilevelBitmap with the specified value (true is 1, false is 0). |
| Clip(Rectangle, bool) | Creates a new BilevelBitmap with a fragment of the image. |
| Clone(bool, bool) | Creates a new BilevelBitmap with a copy of the image. |
| Dispose() | Clean up any resources being used. |
| Dispose(bool) | Performs cleanup operations on managed and unmanaged resources. |
| InvertColors() | Inverts all black pixels to white and all white pixels to black. |
| SetDpi(float) | Changes the physical resolution of the image. |
| SetDpi(float, float) | Changes the physical resolution of the image. |
| ToGcBitmap() | Creates an instance of the GcBitmap class from the current BilevelBitmap. |
| ToGcBitmap(GcBitmap, bool) | Copies the image into an existing instance of GcBitmap. |