Version

IntersectInvalidRect Method (ImageAndFormattedTextUIElement.ImageAndFormattedTextDependentTextUIElement)

Returns the intersection of the element's rect with the invalid rect for the current draw operation.
Syntax
'Declaration
 
Protected Overrides Function IntersectInvalidRect( _
   ByVal invalidRect As Rectangle, _
   ByVal rightToLeftOffset As Integer, _
   Optional ByVal zoomFactor As Single _
) As Rectangle
protected override Rectangle IntersectInvalidRect( 
   Rectangle invalidRect,
   int rightToLeftOffset,
   float zoomFactor
)

Parameters

invalidRect
Invalid rect
rightToLeftOffset
Specifies an offset of the element rect for RightToLeft.
zoomFactor
The zoom factor.

Return Value

The intersection of the element's rect with the invalid rect.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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