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





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

Syntax

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

<object IsClosed=bool .../>

Dependencies Property Information 

Identifier field

IsClosedProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Attributes Usage 

<object IsClosed=bool .../>

Dependencies Property Information 

Identifier field

IsClosedProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

Return Value

true if this is a closed AnnPolygonObject; false otherwise.

Example

For XAML example, refer to AnnPolygonObject.

For C#/VB examples, 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 Vista, and Windows Server 2003 family

See Also

IsClosed requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.