コミュニティ

Coordinates of a field

Is it possible to get the coordinates of a recognized text region.For example for a static text field say for example "ABBYY" is it possible to get the coordinates of the 4 corners around the text and include it in the export script?

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

2件のコメント

  • Avatar
    Permanently deleted user
    Hello,

    Yes, it is possible to get coordinates of a field if you refer to Field("name").Regions.Rects[j].Bottom (or Left, Right, Top instead of Bottom). Those properties return left\top\right\bottom coordinates of a rectangle. Then you can get corners' coordinates by combining the necessary two of those.

    Please remember it is possible to check how many regions a given field has and how many rects a region has using Field("name").Regions.Count property and Field("name").Regions.Rects.Count respectively.

    If you have any other questions please feel free to contact me again here or via PM.

    Hope that helps,
    Vladislav
    0
  • Avatar
    Permanently deleted user
    Hi, Thank you !
    Could you please provide the code how to assign the values of the coordinates to an element.
    Thanks in advance.
    0

サインインしてコメントを残してください。