Determines if the rectangular region represented by the specified value is entirely contained within this
LeadRectD.
public static bool ContainsRect(
LeadRectD ,
LeadRectD
)
'Declaration
Public Shared Function ContainsRect( _
ByVal As LeadRectD, _
ByVal As LeadRectD _
) As Boolean
'Usage
Dim rect As LeadRectD
Dim testRect As LeadRectD
Dim value As Boolean
value = LeadRectDHelper.ContainsRect(rect, testRect)
public static bool ContainsRect(
LeadRectD rect,
LeadRectD testRect
)
function Leadtools.LeadRectDHelper.ContainsRect(
rect ,
testRect
)
public:
static bool ContainsRect(
LeadRectD ,
LeadRectD
)
Parameters
- rect
- The rectangle object.
- testRect
- The LeadRectD to be tested.
Return Value
This method returns true if the rectangular region represented by is entirely contained within the rectangular region represented by this LeadRectD; otherwise, it is false.
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