LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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.

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

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 New 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 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