←Select platform

Image Property

Summary

Gets or sets the Leadtools.RasterImage to be displayed in this RasterImageViewer. This is a dependency property.

Syntax

C#
VB
Java
WinRT C#
public Leadtools.RasterImage Image {get; set;}
Public Property Image As Leadtools.RasterImage
public Leadtools.RasterImage Image {get; set;}
public RasterImage getImage() 
public void setImage(RasterImage image) 
get_Image(); 
set_Image(value); 
Object.defineProperty('Image'); 

Property Value

The LEADTOOLS Leadtools.RasterImage object to be displayed in this RasterImageViewer. The default value is a null reference (Nothing in VB).

Remarks

When the value of the Image property changes to a valid image, the values of Source will contain the equivalent Windows Runtime image.

In Windows Runtime, an image that is displayed must be an Leadtools.ImageSource or one of its derived classes, the RasterImageViewer control keeps the ImageViewer.Source property synchronized with RasterImageViewer.Image, any changes that occur to the LEADTOOLS Leadtools.RasterImage is reflected in the Source property. Also, this control will subscribe to the RasterImage.Changed to monitor any changes that may occur to the image (through image processing for example) and reflect these changes to the Source property.

The control uses RasterImageConverter.ConvertToImageSource to convert the LEADTOOLS Leadtools.RasterImage to a Windows Runtime Leadtools.ImageSource. The value of the ConvertToSourceOptions property is used as the options parameter to this method.

Example

For an example, refer to RasterImageViewer.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize