[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.Drawing.Image

Image Class

GDI-like image descriptor.

Inheritance
Image
Implements
Namespace: GrapeCity.ActiveReports.Chart.Drawing
Assembly: MESCIUS.ActiveReports.Chart.dll
Syntax
public sealed class Image : IDisposable, ICloneable

Properties

Name Description
Data

Gets the raw, encoded bytes of the image exactly as they were read (for example, the PNG or JPEG file content).

Height

Gets the height of this Image.

HorizontalResolution

Gets the horizontal resolution, in pixels-per-inch, of this Image.

RawFormat

Gets the format of this Image.

Size

Gets the width and height of this Image.

VerticalResolution

Gets the vertical resolution, in pixels-per-inch, of this Image.

Width

Gets the width of this Image.

Methods

Name Description
Clone()

Returns this image instance. Because Image is immutable, no copy is required and the same reference can be shared safely.

Dispose()

Releases the resources used by the image. This implementation performs no work because the image is immutable and holds no unmanaged resources; it exists to satisfy IDisposable.

FromStream(Stream)

Creates an Image from the specified data stream.

Save(Stream, ImageFormat)

Saves this Image to the specified stream in the specified format.