LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Pen Property
See Also 
Leadtools.Annotations Namespace > AnnGroupObject Class : Pen Property



Gets or sets the AnnPen object associated with this AnnGroupObject object.

Syntax

Visual Basic (Declaration) 
Overrides Public Property Pen As AnnPen
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim value As AnnPen
 
instance.Pen = value
 
value = instance.Pen
C# 
public override AnnPen Pen {get; set;}
C++/CLI 
public:
property AnnPen^ Pen override {
   AnnPen^ get();
   void set (    AnnPen^ value);
}

Property Value

The AnnPen object associated with this AnnGroupObject object.

Remarks

When "getting" this property, internally this AnnGroupObject object will enumerate all objects in the group and return the pen of the first object that has its SupportsPen value set to true. For more information, refer to AnnDrawable.Pen.

When "setting" this property, internally this AnnGroupObject will enumerate all objects in the group and set the AnnDrawable.Pen value for each object that has its SupportsPen value set to true. For more information, refer to AnnDrawable.Pen.

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