LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Image Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnPicture Class : Image Property



The Image Property supports WPF/Silverlight.

The Image Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the image associated with this AnnPicture object. This is a dependency property.Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property Image As BitmapSource
Visual Basic (Usage)Copy Code
Dim instance As AnnPicture
Dim value As BitmapSource
 
instance.Image = value
 
value = instance.Image
C# 
public BitmapSource Image {get; set;}
C++/CLI 
public:
property BitmapSource^ Image {
   BitmapSource^ get();
   void set (    BitmapSource^ value);
}

Property Value

An System.Windows.Media.Imaging.BitmapSource object associated with this AnnPicture.

Example

For XAML example, refer to AnnGroupObject.

For C#/VB examples, refer to AnnPicture.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Image requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.