Flexible TreeView 5.1.9 Help
GetFont Method (Node)



The node control for which get the font.
The draw context for current draw operation.
Gets the node font according to the specified node control and draw state.
Syntax
'Declaration
 
Public Overridable Function GetFont( _
   ByVal pControl As NodeControl, _
   ByVal pContext As DrawContext _
) As Font
'Usage
 
Dim instance As Node
Dim pControl As NodeControl
Dim pContext As DrawContext
Dim value As Font
 
value = instance.GetFont(pControl, pContext)
public virtual Font GetFont( 
   NodeControl pControl,
   DrawContext pContext
)
public:
virtual Font^ GetFont( 
   NodeControl^ pControl,
   DrawContext^ pContext
) 

Parameters

pControl
The node control for which get the font.
pContext
The draw context for current draw operation.

Return Value

The font instance.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionIf pControl or pContext parameters is NULL
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Node Class
Node Members

Send Feedback