Class Image
Draws a raster image within a document shape, honoring size, aspect ratio, and source data.
Inherited Members
Namespace: Telerik.Windows.Documents.Model.Drawing.Shapes
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public sealed class Image : ShapeBase
Properties
ImageSource
Gets or sets the image source to display within the shape.
Declaration
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
public bool PreferRelativeToOriginalResize { get; set; }
Property Value
|
System.Boolean
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
protected override void InitializeSize()