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





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

Syntax

Visual Basic (Declaration) 
Public Property Picture As AnnPicture
Visual Basic (Usage)Copy Code
Dim instance As AnnFreehandHotspotObject
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);
}
XAML Syntax 
For XAML information, see the Leadtools.Windows.Annotations.AnnPicture type.

Dependencies Property Information 

Identifier field

PictureProperty

Metadata properties set to true

AffectsRender

XAML Syntax 
For XAML information, see the Leadtools.Windows.Annotations.AnnPicture type.

Dependencies Property Information 

Identifier field

PictureProperty

Metadata properties set to true

AffectsRender

Return Value

The AnnPicture object associated with this AnnFreehandHotspotObject.

Example

For XAML example, refer to AnnFreehandHotspotObject.

For C#/VB examples, refer to AnnFreehandHotspotObject.

Remarks

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

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

Requirements

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

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.