Leadtools.Silverlight.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.Silverlight.Controls Namespace > ImagePanViewer Class : Source Property





Gets or sets the viewer currently assigned for the panning process by the control. This is a dependency property.

Syntax

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

<object Source=Leadtools.Silverlight.Controls.ImageViewer />

Dependencies Property Information 

Identifier field

SourceProperty

XAML Property Element Usage 

<object> <object.Source> <Size .../> </object.Source> </object>

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

<object Source=Leadtools.Silverlight.Controls.ImageViewer />

Dependencies Property Information 

Identifier field

SourceProperty

XAML Property Element Usage 

<object> <object.Source> <Size .../> </object.Source> </object>

Return Value

The viewer object, which has an image to be panned using the ImagePanViewer control.

Remarks

This property contains the ImageViewer object which contains an image to be panned using the ImagePanViewer control. Whenever the Viewer property is changed, the image displayed in the ImagePanViewer control is affected by this change.

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