Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.Windows.Controls Namespace > RasterImageBox Class : ConvertFromSourceOptions Property |
public ConvertFromSourceOptions ConvertFromSourceOptions {get; set;}
'Declaration Public Property ConvertFromSourceOptions As ConvertFromSourceOptions
'Usage Dim instance As RasterImageBox Dim value As ConvertFromSourceOptions instance.ConvertFromSourceOptions = value value = instance.ConvertFromSourceOptions
public: property ConvertFromSourceOptions ConvertFromSourceOptions { ConvertFromSourceOptions get(); void set ( ConvertFromSourceOptions value); }
If the Source property is changed, the RasterImageBox 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.
For C#/VB examples, refer to UpdateImageFromSource.