Visual Basic (Declaration) | |
---|---|
Protected Function New( _ ByVal supportsPen As Boolean, _ ByVal supportsBrush As Boolean, _ ByVal supportsFont As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected AnnDrawable( bool supportsPen, bool supportsBrush, bool supportsFont ) |
Managed Extensions for C++ | |
---|---|
protected: AnnDrawable( bool supportsPen, bool supportsBrush, bool supportsFont ) |
C++/CLI | |
---|---|
protected: AnnDrawable( 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.
Derived classes use this constructor to specify whether they support the various drawing objects. For example, a line object would pass false for supportsBrush and supportsFont since they are not needed.
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