Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnObjectBase Constructor(Boolean,Boolean,Boolean)
See Also 
Leadtools.Windows.Annotations Namespace > AnnObjectBase Class > AnnObjectBase Constructor : AnnObjectBase Constructor(Boolean,Boolean,Boolean)



supportsStroke
true if this object will support a stroke; otherwise false.
supportsFill
true if this object will support a fill; otherwise false.
supportsFont
true if this object will support a font; otherwise false.
Initializes a new instance of AnnObjectBase.

Syntax

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

Parameters

supportsStroke
true if this object will support a stroke; otherwise false.
supportsFill
true if this object will support a fill; otherwise false.
supportsFont
true if this object will support a font; otherwise false.

Remarks

Derived annotation objects must implement this method to enable the LEADTOOLS Annotation infrastructure to correctly construct objects at runtime. For more information and an example, refer to the Implement User Defined Objects with LEADTOOLS WPF Annotations

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

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