Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Image Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnPicture Class : Image Property





Gets or sets the image associated with this AnnPicture object. This is a dependency property.

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);
}
XAML Syntax 
For XAML information, see the System.Windows.Media.Imaging.BitmapSource type.

Dependencies Property Information 

Identifier field

ImageProperty

Metadata properties set to true

None

XAML Syntax 
For XAML information, see the System.Windows.Media.Imaging.BitmapSource type.

Dependencies Property Information 

Identifier field

ImageProperty

Metadata properties set to true

None

Return Value

An BitmapSource object associated with this AnnPicture.

Example

For XAML example, refer to AnnGroupObject.

For C#/VB examples, refer to AnnPicture.

Requirements

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

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.