Interface IImage
Represents a raster or vector image.
public interface IImage
Properties
Size
Gets the size of the image, in device independent pixels.
Size Size { get; }
Property Value
Methods
Draw(DrawingContext, Rect, Rect)
Draws the image to a DrawingContext.
void Draw(DrawingContext context, Rect sourceRect, Rect destRect)
Parameters
context
DrawingContextThe drawing context.
sourceRect
RectThe rect in the image to draw.
destRect
RectThe rect in the output to draw to.