LEADTOOLS WinRT(Leadtools.Controls)
LEAD Technologies, Inc

Image Property


Gets or sets the Leadtools.RasterImage to be displayed in this control. This is a dependency property. WinRT support
Syntax
public RasterImage Image {get; set;}
 get_Image();
set_Image(value);

Property Value

The LEADTOOLS Leadtools.RasterImage object to be displayed in this control. The default value is a null reference (Nothing in Visual Basic).
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.Junk.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.Junk.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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.