←Select platform

UpdateImageFromSource Method (RasterImageListItem)

Summary

Converts the WPF/Silverlight image in the Source property to the LEADTOOLS Leadtools.RasterImage and set it in Image.

Syntax

C#
VB
C++
public virtual void UpdateImageFromSource()
Public Overridable Sub UpdateImageFromSource()
public: 
virtual void UpdateImageFromSource(); 

Remarks

If the Source property is changed, the RasterImageListItem must be informed so it can reflect the changes into the Image object. The UpdateImageFromSource can be used to perform this task.

The control uses the RasterImageConverter.ConvertFromSource to convert the WPF/Silverlight System.Windows.Media.ImageSource to LEADTOOLS Leadtools.RasterImage. The value of the ConvertFromSourceOptions property is used as the options parameter to this method.

Requirements

Target Platforms

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