Function TWPRTFEnginePaint.GetImageAtXY(PaintPageNr:Integer; X:Integer; Y:Integer; TextObject:TWPTextObj; img_x:Integer; img_y:Integer; img_w:Integer; img_h:Integer) : Boolean

Unit: WPRTEPaint
Class: WPRTEPaint.TWPRTFEnginePaint

Parameters

  • PaintPageNr:Integer
  • X:Integer
  • Y:Integer
  • TextObject:TWPTextObj
  • img_x:Integer
  • img_y:Integer
  • img_w:Integer
  • img_h:Integer

Returns

The type of the result value is Boolean.

Description

Locate any image on the page, also images placed in header or footer! The coordinates are measured in RTF coordinates.