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



Gets or sets a value indicating whether this is a closed AnnPolygonObject.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Closed As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnPolygonObject
Dim value As Boolean
 
instance.Closed = value
 
value = instance.Closed
C# 
public virtual bool Closed {get; set;}
C++/CLI 
public:
virtual property bool Closed {
   bool get();
   void set (bool value);
}

Return Value

true if this is a closed AnnPolygonObject; false otherwise.

Example

For an example, refer to AnnPolygonObject.

Remarks

If the value of this property is true, the polygon will draw an extra line from the last point in the AnnPolylineObject.Points collection back to the first point.

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