←Select platform

UpdateImageFromSource Method

Summary

Re-creates the LEADTOOLS image object of this viewer from the Windows Runtime Source object.

Syntax

C#
VB
WinRT C#
public void UpdateImageFromSource() 
Public Sub UpdateImageFromSource()  
public void UpdateImageFromSource() 
 function Leadtools.Controls.RasterImageViewer.UpdateImageFromSource() 

Remarks

This method will create an instance of Leadtools.RasterImage from the value of Source and set it in the Image property. If the value of Source is null, then the value of Image will be null as well.

Internally, this method will call RasterImageConverter.ConvertFromImageSource(Source, ConvertFromSourceOptions).

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)