LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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();
}

Property 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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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