[]
For internal use. Helper class rerpesents the crossplatform image holder in C1Document.
public class C1Image : Object, IImage, IDisposable, IDisposable, IMemoryStreamProvided
Public Class C1Image
Inherits Object
Implements IImage, IDisposable, IDisposable, IMemoryStreamProvided
| Name | Description |
|---|---|
| C1Image(byte[], C1ImageFormat) | Initializes a new instance of the C1Image class. |
| C1Image(Image) | Initializes a new instance of the C1Image class. |
| C1Image(Metafile) | Initializes a new instance of the C1Image class. |
| C1Image(MemoryStream) | Initializes a new instance of the C1Image class. |
| C1Image(MemoryStream, C1ImageFormat) | Initializes a new instance of the C1Image class. |
| C1Image(Stream, C1ImageFormat) | Initializes a new instance of the C1Image class. |
| Name | Description |
|---|---|
| c_MaxScreenMetafileDPI | The default maximum DPI for the metafile. |
| Name | Description |
|---|---|
| Data | Gets the MemoryStream of image data. |
| Disposed | |
| Empty | Determines if the image data is empty. |
| ExifProfile | |
| Format | Gets the C1ImageFormat. |
| Height | |
| HorizontalResolution | |
| Rotation | |
| VerticalResolution | |
| Width |
| Name | Description |
|---|---|
| Dispose() | Cleans up C1Image instance. |
| Dispose(bool) | Releases the unmanaged resources used by the C1Image and optionally releases the managed resources. |
| Finalize() | Cleans up C1Image instance. |
| GetData() | Use this method to get the MemoryStream which can be used to create an image in multithreading enviroment. |
| GetFormat(ImageFormat) | Gets a C1ImageFormat value corresponding to the passed System.Drawing.Imaging.ImageFormat. |
| GetSize() | Returns size of the image in pixels. |
| ToGcBitmap(GcBitmap) | |
| ToGcBitmap(bool, out bool) | |
| ToGcBitmap(out bool) | |
| ToGcImage() | |
| ToPngBytes() | Returns byte array of image. |