New to Telerik Document Processing? Start a free 30-day trial

Image

Class

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

Definition

Properties

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

C#
public ImageSource ImageSource { get; set; }
Property Value:

The image source.

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

C#
public bool PreferRelativeToOriginalResize { get; set; }
Property Value:

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

Methods

Initializes the size.

C#
protected override void InitializeSize()

Overrides: ShapeBase.InitializeSize()