skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class Image

Positioned raster image element that draws pixels from an ImageSource with optional dimension overrides and transparency.

Inheritance
System.Object
FixedDocumentElementBase
ContentElementBase
PositionContentElement
Image
Inherited Members
PositionContentElement.Position
ContentElementBase.Clipping
FixedDocumentElementBase.Parent
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
PositionContentElement.CreateClonedInstance<T>()

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.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.