(Leadtools.Controls)

Image Property

Show in webframe





Gets or sets the Leadtools.RasterImage to be displayed in this RasterImageViewer. This is a dependency property.
Syntax
public RasterImage Image {get; set;}
Public Property Image As RasterImage
public 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 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.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

See Also

Reference

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.