ImageGear PDF v25.2 - Updated
IsAtRect Method (ImGearPDEElement)




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEElement Class : IsAtRect Method
A rectangle, specified in user space coordinates.
Tests whether any part of a rectangle is on an element.
Syntax
'Declaration
 
Public Function IsAtRect( _
   ByVal rect As ImGearPDFFixedRect _
) As Boolean
'Usage
 
Dim instance As ImGearPDEElement
Dim rect As ImGearPDFFixedRect
Dim value As Boolean
 
value = instance.IsAtRect(rect)
public bool IsAtRect( 
   ImGearPDFFixedRect rect
)
public: bool IsAtRect( 
   ImGearPDFFixedRect* rect
) 
public:
bool IsAtRect( 
   ImGearPDFFixedRect^ rect
) 

Parameters

rect
A rectangle, specified in user space coordinates.

Return Value

True if any part of a rectangle is on an element, False otherwise.
Remarks

If the current element is a PDE Text or PDE Image, it uses the bounding box of the PDE Element to make the check. If the current element is a PDE Path and it is stroked, it checks if the rectangle is on the path.

If the current element is a PDE Path and it is filled, it checks if the rectangle is in the fill area, taking into consideration whether it is filled using the non-zero winding number rule or the even-odd rule.

See Also

Reference

ImGearPDEElement Class
ImGearPDEElement Members
ImGearPDFFixedRect Class

Is this page helpful?
Yes No
Thanks for your feedback.