AnnotationImage Class |
Namespace: Atalasoft.Annotate
The AnnotationImage type exposes the following members.
| Name | Description | |
|---|---|---|
| AnnotationImage | Creates a new empty instance of AnnotationImage. | |
| AnnotationImage(Image) | Creates a new instance of AnnotationImage specifying the
System.Drawing.Image object used. | |
| AnnotationImage(Stream) | Creates a new instance of AnnotationImage from the specified stream. | |
| AnnotationImage(String) | Creates a new instance of AnnotationImage from the specified file. | |
| AnnotationImage(AtalaImage) | Creates a new instance of AnnotationImage specifying the
Atalasoft.Imaging.AtalaImage object used. | |
| AnnotationImage(SerializationInfo, StreamingContext) | Creates a new instance of AnnotationImage from serialized data. | |
| AnnotationImage(Int32, Int32, Int32, Byte) | Creates a new instance of AnnotationImage specifying the width, height, bit count and
image data. | |
| AnnotationImage(Int32, Int32, Int32, Byte, Byte) | Creates a new instance of AnnotationImage specifying the width, height, bit count, image
and palette data. | |
| AnnotationImage(Int32, Int32, Int32, Byte, Byte, Single, Single) | Creates a new instance of AnnotationImage specifying the image properties. |
| Name | Description | |
|---|---|---|
| BitCount | Gets the bit count (or bits-per-pixel) of the image. | |
| Disposed | Gets a value indicating whether this object has been disposed. | |
| DpiX | Gets the horizontal resolution of the image. | |
| DpiY | Gets the vertical resolution of the image. | |
| Height | Gets the height of the image in pixels. | |
| ImageData | Gets the image data. | |
| ImageObject | Gets the actual image object for this AnnotationImage. | |
| Palette | Gets the image palette, if any. | |
| Width | Gets the width of the image in pixels. |
| Name | Description | |
|---|---|---|
| Clone | Creates a copy of this AnnotationImage. | |
| Dispose | Releases resources used by this class. | |
| Dispose(Boolean) | Releases resources used by this class. | |
| Equals | Compares this AnnotationImage with another to see if they are equal. (Overrides ObjectEquals(Object).) | |
| Finalize |
Finalizes an instance of the AnnotationImage class.
(Overrides ObjectFinalize.) | |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) | |
| GetObjectData | Fills a SerializationInfo object with image data. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnCreateImageObject | Called when the ImageObject property is being requested. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
The properties of this class describe the image data, allowing the image data to be read by any application into a format it requires.
The ImageObject property is used to store the actual image created from these property values. Our default implementation will create a System.Drawing.Imaging.Image object. Inheritors should override the OnCreateImageObject method to generate the image object.