ImageGear21.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEElement Class : IsAtRect Method |
'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 )
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.