Image
Positioned raster image element that draws pixels from an ImageSource with optional dimension overrides and transparency.
Definition
Namespace:Telerik.Documents.Fixed.Model.Objects
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class Image : PositionContentElement, IFixedDocumentElement
Inheritance: objectFixedDocumentElementBaseContentElementBasePositionContentElementImage
Implements:
Inherited Members
Constructors
Initializes a new image element with default size inferred from its source when assigned.
public Image()
Properties
Gets or sets the constant opacity applied to non‑stroking paint operations.
public double? AlphaConstant { get; set; }
The alpha constant.
Gets or sets the display height overriding the intrinsic bitmap height when specified.
public double Height { get; set; }
The height value.
Gets or sets the image data container supplying pixel dimensions and encoded content.
public ImageSource ImageSource { get; set; }
The ImageSource object containing the image data and format information.
Methods
Creates and returns a deep copy of this image including dimension overrides and stencil settings.
Creates the cloned instance.
protected override T CreateClonedInstance<T>() where T : PositionContentElement
T
The cloned instance.
Overrides:
Creates and returns a WPF BitmapSource for this image, applying stencil color if present.
public BitmapSource GetBitmapSource()
BitmapSource
The BitmapSource instance.