The IImageResource type exposes the following members.
In implementing type should return an aspect ratio of particular image regardless of its type. Both vector and raster images have intrinsic aspect ratio between its width and height.
Content of the HTML resource in a form of a byte stream(Inherited from IHtmlResource.)
Correct filename of the specified resource with appropriate file extension(Inherited from IHtmlResource.)
Determines whether a resource is closed (true) or not (false)(Inherited from IAuxDisposable.)
In implementing type should return linear dimensions of the image. For raster images they are intrinsic dimensions in pixels. Vector images, in counterpart, have no fixed dimensions, but their metadata can contain some basic dimensions in different measurement units.
Name of the HTML resource(Inherited from IHtmlResource.)
Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources(Inherited from IHtmlResource.)
In implementing type should return a type of specific image as an instance of specific ImageType, which encapsulates all type-specific info