Visual Basic (Declaration) | |
---|---|
Public Property Picture As AnnPicture |
Visual Basic (Usage) | Copy Code |
---|---|
|
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 | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
XAML Syntax | |
---|---|
For XAML information, see the Leadtools.Windows.Annotations.AnnPicture type. |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
Return Value
The AnnPicture object associated with this AnnPointObject.For XAML example, refer to AnnPointObject.
For C#/VB examples, refer to AnnPointObject.
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
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family