Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnControlPoint Constructor(Boolean,Boolean,Boolean)
See Also 
Leadtools.Annotations Namespace > AnnControlPoint Class > AnnControlPoint Constructor : AnnControlPoint 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.
Initializes a new instance of AnnControlPoint.

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 AnnControlPoint(supportsPen, supportsBrush, supportsFont)
C# 
protected AnnControlPoint( 
   bool supportsPen,
   bool supportsBrush,
   bool supportsFont
)
C++/CLI 
protected:
AnnControlPoint( 
   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

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 Annotations

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