ClassImage
Class
Draws a raster image within a document shape, honoring size, aspect ratio, and source data.
Definition
Namespace:Telerik.Windows.Documents.Model.Drawing.Shapes
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
cs-api-definition
public sealed class Image : ShapeBase
Inheritance: objectShapeBaseImage
Inherited Members
Properties
ImageSource
Gets or sets the image source to display within the shape.
Declaration
cs-api-definition
public ImageSource ImageSource { get; set; }
Property Value
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
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