Class
Image

Draws a raster image within a document shape, honoring size, aspect ratio, and source data.

Definition

Properties

ImageSource

Gets or sets the image source to display within the shape.

Declaration

cs-api-definition
public ImageSource ImageSource { get; set; }

Property Value

ImageSource

The image source.

PreferRelativeToOriginalResize

Gets or sets whether scale operations are measured from the original source size or the current size.

Declaration

cs-api-definition
public bool PreferRelativeToOriginalResize { get; set; }

Property Value

bool

The value indicating whether the scale resizing should be relative to the original or the current size of the image.

Methods

InitializeSize()

Initializes the size.

Declaration

cs-api-definition
protected override void InitializeSize()

Overrides ShapeBase.InitializeSize()