ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_element_is_at_rect
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_ELEMENT > IG_PDE_element_is_at_rect

Glossary Item Box

Tests whether any part of a rectangle is on an element.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_element_is_at_rect(
        HIG_PDE_ELEMENT hElement,
        LPAT_PDF_FIXEDRect lpRect,
        LPAT_BOOL lpbResult);

Arguments:

hElement

The element to test.

  • If hElement is a PDE Text or PDE Image, it uses the bounding box of the PDE Element to make the check.
  • If hElement is a PDE Path and it is stroked, it checks if the rectangle is on the path.
  • If hElement 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.
lpRect The rectangle, specified in user space coordinates.
lpbResult True if any part of the rectangle is on the element; FALSE otherwise.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

©2012. Accusoft Corporation. All Rights Reserved.