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
AnnPicture Constructor(BitmapSource)
See Also 
Leadtools.Windows.Annotations Namespace > AnnPicture Class > AnnPicture Constructor : AnnPicture Constructor(BitmapSource)



img
The System.Windows.Media.Imaging.BitmapSource to be used with this AnnPicture object.
Initializes a new instance of the AnnPicture class with a specific image. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal img As BitmapSource _
)
Visual Basic (Usage)Copy Code
Dim img As BitmapSource
 
Dim instance As New AnnPicture(img)
C# 
public AnnPicture( 
   BitmapSource img
)
C++/CLI 
public:
AnnPicture( 
   BitmapSource^ img
)

Parameters

img
The System.Windows.Media.Imaging.BitmapSource to be used with this AnnPicture object.

Example

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

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