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



Gets a value that indicates whether this AnnGroupObject object has a pen.

Syntax

Visual Basic (Declaration) 
Overrides Public ReadOnly Property HasPen As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim value As Boolean
 
value = instance.HasPen
C# 
public override bool HasPen {get;}
C++/CLI 
public:
property bool HasPen override {
   bool get();
}

Return Value

true if this AnnGroupObject object has a pen; false otherwise.

Remarks

(Read only) Internally this AnnGroupObject object will check each annotation object in the group to see if the AnnDrawable.HasPen property is true. If the AnnDrawable.HasPen property is true for any annotation object in the group, then this property returns true. For more information, refer to AnnDrawable.HasPen.

If this group object has a pen, information about that pen is contained in the Pen property.

Requirements

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

See Also

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