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



supportsPen
true if this object will support a pen; false otherwise.
supportsBrush
true if this object will support a brush; false otherwise.
supportsFont
true if this object will support a font; false otherwise.
Initializes a new instance of AnnButtonObject.

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

Parameters

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

Remarks

This constructor is intended for derived classes that extend the functionality of the AnnButtonObject class.

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