[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.IImage

IImage Interface

Defines a common interface for images that can be drawn on a GcGraphics.

Namespace: GrapeCity.Documents.Drawing
Assembly: DS.Documents.Imaging.dll
Syntax
public interface IImage : IDisposable
Public Interface IImage
    Inherits IDisposable

Properties

Name Description
Disposed

Gets a value indicating whether the image was not initialized or has already been disposed.

ExifProfile

If possible, gets an instance of ExifProfile with Exif metadata of the image.

Height

Gets the height of the image, in pixels.

HorizontalResolution

Gets the horizontal resolution of the image, in dots per inch.

Rotation

Gets the flip and rotate transformations that must be applied to the image.

VerticalResolution

Gets the vertical resolution of the image, in dots per inch.

Width

Gets the width of the image, in pixels.

Methods

Name Description
ToGcBitmap(GcBitmap)

Loads the image into an existing instance of GcBitmap.

ToGcBitmap(bool, out bool)

Retrieves the underlying GcBitmap object, or creates a new GcBitmap that contains the image data.

Note that you should dispose the returned GcBitmap if disposeAfterUse is true.

ToGcBitmap(out bool)

Retrieves the underlying GcBitmap object, or creates a new GcBitmap that contains the image data.

Note that you should dispose the returned GcBitmap if disposeAfterUse is true.