LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

UpdateImageFromSource Method (RasterImageListItem)






Converts the WPF/Silverlight image in the Source property to the LEADTOOLS Leadtools.RasterImage and set it in Image. .NET support Silverlight support
Syntax
public virtual void UpdateImageFromSource()
'Declaration
 
Public Overridable Sub UpdateImageFromSource() 
'Usage
 
Dim instance As RasterImageListItem
 
instance.UpdateImageFromSource()
public virtual void UpdateImageFromSource()
 function Leadtools.Windows.Controls.RasterImageListItem.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: 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

RasterImageListItem Class
RasterImageListItem Members

 

 


Products | Support | Contact Us | Copyright Notices

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