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