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

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