Class Image
Positioned raster image element that draws pixels from an ImageSource with optional dimension overrides and transparency.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Objects
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class Image : PositionContentElement, IFixedDocumentElement, IAlphaConstantProvider
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
|
System.Nullable<System.Double>
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
|
System.Double
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
|
ImageSource
The ImageSource object containing the image data and format information. |
Width
Gets or sets the display width overriding the intrinsic bitmap width when specified.
Declaration
public double Width { get; set; }
Property Value
|
System.Double
The width value. |
Methods
Clone()
Creates and returns a deep copy of this image including dimension overrides and stencil settings.
Declaration
public Image Clone()
Returns
|
Image
|
CreateClonedInstance<T>()
Creates the cloned instance.
Declaration
protected override T CreateClonedInstance<T>()
where T : PositionContentElement
Returns
|
T
The cloned instance. |
Type Parameters
|
T
|
Overrides
GetBitmapSource()
Creates and returns a WPF System.Windows.Media.Imaging.BitmapSource for this image, applying stencil color if present.
Declaration
public BitmapSource GetBitmapSource()
Returns
|
System.Windows.Media.Imaging.BitmapSource
The System.Windows.Media.Imaging.BitmapSource instance. |