コミュニティ

How can I modify the value of yArray?

Hi

I want to use string of repeat group to split rows, So I use RowSplitters method

let yArray = SearchElements.RepeatingGroup.AllInstances.CharacterString.GetYArray(0);
RowSplitters( yArray,true,false);

But some words will be cut.
I need to offset the yArray simultaneously, just like "CharacterString.Rect.Top-10dt", So I try to modify

let yArray = SearchElements.RepeatingGroup.AllInstances.CharacterString.GetYArray(0)-10dt;
RowSplitters( yArray,true,false);

There is a error of wrong parameters for operator "-"

How can I modify the value of yArray?

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

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

コメント

2件のコメント

  • Avatar
    Permanently deleted user
    Hello,

    YArray is an IntArray predifined type, you can view its description in FlexiLayout HelpFile:FlexiLayout Language-Predifined Types-IntArray. According to description it doesn't support operators such as + or -.

    If you are using YArray to find rows, then you need to make sure that elements that form YArray, capture each row correctly.

    Best Regards,



    0
  • Avatar
    Permanently deleted user
    Hi Timur

    I use the small white gap above CharacterString and replace it,

    let yArray = SearchElements.RepeatingGroup.AllInstances.whitegap.GetYArray(0)finally

    It can solve this problem now, thanks!
    0

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