Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property virtual bool get_Closed();
public: __property virtual void set_Closed( 
   bool value
);
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 Points collection back to the first point.

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