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



supportsPen
true if this object will support a pen; otherwise false.
supportsBrush
true if this object will support a brush; otherwise false.
supportsFont
true if this object will support a font; otherwise false.

The AnnPolygonObject Constructor(Boolean,Boolean,Boolean) is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new instance of AnnPolygonObject.

Syntax

Visual Basic (Declaration) 
Protected Function New( _
   ByVal supportsPen As Boolean, _
   ByVal supportsBrush As Boolean, _
   ByVal supportsFont As Boolean _
)
Visual Basic (Usage)Copy Code
Dim supportsPen As Boolean
Dim supportsBrush As Boolean
Dim supportsFont As Boolean
 
Dim instance As New AnnPolygonObject(supportsPen, supportsBrush, supportsFont)
C# 
protected AnnPolygonObject( 
   bool supportsPen,
   bool supportsBrush,
   bool supportsFont
)
C++/CLI 
protected:
AnnPolygonObject( 
   bool supportsPen,
   bool supportsBrush,
   bool supportsFont
)

Parameters

supportsPen
true if this object will support a pen; otherwise false.
supportsBrush
true if this object will support a brush; otherwise false.
supportsFont
true if this object will support a font; otherwise false.

Remarks

This constructor is intended for derived classes that want to extend the functionality of the AnnPolygonObject.

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