Leadtools.Silverlight3.Controls Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Source Property
See Also 
Leadtools.Silverlight3.Controls Namespace > ImageViewer Class : Source Property





Gets or sets the ImageSource for the ImageViewer.

Syntax

Visual Basic (Declaration) 
Public Property Source As ImageSource
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
Dim value As ImageSource
 
instance.Source = value
 
value = instance.Source
C# 
public ImageSource Source {get; set;}
C++/CLI 
public:
property ImageSource Source {
   ImageSource get();
   void set (ImageSource value);
}
XAML Syntax 
For XAML information, see the BitmapImage type.
XAML Attributes Usage 

<object Source=imageUri/>

Dependencies Property Information 

Identifier field

SourceProperty

XAML Values 

imageUri System.String The URI of the image file.

XAML Syntax 
For XAML information, see the BitmapImage type.
XAML Attributes Usage 

<object Source=imageUri/>

Dependencies Property Information 

Identifier field

SourceProperty

XAML Values 

imageUri System.String The URI of the image file.

Return Value

The source value for the ImageViewer. The default value is a null.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Source requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features