Leadtools.Windows.Controls Namespace > RasterImageListItem Class : UpdateImageFromSource Method |
public virtual void UpdateImageFromSource()
'Declaration Public Overridable Sub UpdateImageFromSource()
'Usage Dim instance As RasterImageListItem instance.UpdateImageFromSource()
public: virtual void UpdateImageFromSource();
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.