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
Picture Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnPointObject Class : Picture Property



The Picture Property supports WPF/Silverlight.

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

Gets or sets the AnnPicture object associated with this AnnPointObject. Supported in Silverlight, Windows Phone 7

Syntax

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

Property Value

The AnnPicture object associated with this AnnPointObject.

Example

For XAML example, refer to AnnPointObject.

For C#/VB examples, refer to AnnPointObject.

Remarks

If you set an empty AnnPicture (a picture that has its AnnPicture.Image value set to null (or Nothing in Visual Basic), this AnnPointObject will use the picture define in DefaultPicture.

If this property has a valid image, the AnnPointObject will draw this picture around CenterPoint.

If this property does not have a valid image, the AnnPointObject will use Radius to draw an ellipse around CenterPoint.

For more information, refer to Using Pictures in WPF Annotation Objects

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

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