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




Gets or sets the AnnPicture object associated with this AnnPointObject.

Syntax

Visual Basic (Declaration) 
Public Overridable 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 virtual AnnPicture Picture {get; set;}
Managed Extensions for C++ 
public: __property virtual AnnPicture* get_Picture();
public: __property virtual void set_Picture( 
   AnnPicture* value
);
C++/CLI 
public:
virtual property AnnPicture^ Picture {
   AnnPicture^ get();
   void set (AnnPicture^ value);
}

Return Value

The AnnPicture object associated with this AnnPointObject.

Example

For an example, refer to AnnPointObject.

Remarks

If you set an empty AnnPicture (a picture that has its 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 Annotation Objects

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features