Flexible TreeView 5.1.9 Help
ApplyPaddingToRect Method



Target rectangle where to add the node control padding.
true if add padding; otherwise, subtract padding.
Adds or removes, depends on the pAdd parameter, the node control padding to the specified rectangle.
Syntax
'Declaration
 
Protected Function ApplyPaddingToRect( _
   ByRef pBounds As Rectangle, _
   ByVal pAdd As Boolean _
) As Boolean
'Usage
 
Dim instance As NodeControl
Dim pBounds As Rectangle
Dim pAdd As Boolean
Dim value As Boolean
 
value = instance.ApplyPaddingToRect(pBounds, pAdd)
protected bool ApplyPaddingToRect( 
   ref Rectangle pBounds,
   bool pAdd
)
protected:
bool ApplyPaddingToRect( 
   Rectangle% pBounds,
   bool pAdd
) 

Parameters

pBounds
Target rectangle where to add the node control padding.
pAdd
true if add padding; otherwise, subtract padding.

Return Value

true if changed rectangle is empty; otherwise false.
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

NodeControl Class
NodeControl Members

Send Feedback