コミュニティ

How to Inflate region for repeating group blocks?

Hi,

Under the 'expression' section for the block of a repeating group

what is the correct syntax to inflate a block region

Rect OutputRect;
OutputInstances = SearchElements.RepeatingGroup.elements
OutputInstances.Inflate(1*mm,1*mm);


the above code doesn't show errors, but the block of the repeating group is not inflated.
Any suggestions would be appreciated.

Thank you

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

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

コメント

6件のコメント

  • Avatar
    Permanently deleted user
    Hello,

    You can try using GetInflated method for repeating groups' items:

    Rect outputRect;
    outputRect =SearchElements.StaticText.Rect.GetInflated(5dt,5dt);
    OutputRegion = outputRect;




    0
  • Avatar
    Permanently deleted user
    Hi Timur,

    I tried the code below based on your example, but
    This is what I tried and I get the "Error in position 166: Unknown identifier OutputRegion" message. I have pasted the code below.
    I appreciate your help.

    Rect OutputRect;
    OutputRect = SearchElements.Summary.Delivery.TransmissionConnectionCharge.AllInstances.csTransmissionConnectionCharge.Rect.GetInflated(5dt,5dt);
    OutputRegion=OutputRect;


    Thank you
    0
  • Avatar
    Permanently deleted user
    Hello,

    It seems that such approach doesn't work for items in repeating blocks.


    As a workaround you can create additional region elements near your existing elements in repeating groups and restrict their area according to existing elements:

    RSA: someelement.rect.GetInflated(5dt,5dt);


    Then assign items in your repeatable group block to these regions.


    Regards
    Timur









    0
  • Avatar
    Permanently deleted user
    Hi Timur,

    Do you have any sample code for this?

    Thanks!
    0
  • Avatar
    Permanently deleted user
    Hello,
    Sorry for late response.

    Check the sample project in attached docs.

    If you need to inflate the output region of some element in repeating group, you can create an additional region element as described above.

    0
  • Avatar
    Permanently deleted user
    Hello,
    Sorry for late response.

    Check the sample project in attached docs.

    If you need to inflate the output region of some element in repeating group, you can create an additional region element as described above.





    The attached file has failed due to version incompatibility.
    Is there a sample FlexiLayout Studio 10?

    Thanks
    0

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