LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

Source Property (ImageViewer)

Show in webframe





Gets or sets the System.Windows.Media.ImageSource to be displayed in this control. This is a dependency property.
Syntax
public ImageSource Source {get; set;}
'Declaration
 
Public Property Source As ImageSource
'Usage
 
Dim instance As ImageViewer
Dim value As ImageSource
 
instance.Source = value
 
value = instance.Source

            

            
public:
property ImageSource^ Source {
   ImageSource^ get();
   void set (    ImageSource^ value);
}

Property Value

The source of the drawn image. The default value is a null reference (Nothing in Visual Basic).
Remarks

When the value of the Source property changes to a valid image, the values of SourceDpiX and SourceDpiY will be populated by the image resolution.

Example

For XAML example, refer to ImageViewer.

For C#/VB examples, refer to ImageViewer.

Requirements

Target Platforms

See Also

Reference

ImageViewer Class
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.