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
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
コメント
6件のコメント
You can try using GetInflated method for repeating groups' items:
Rect outputRect;
outputRect =SearchElements.StaticText.Rect.GetInflated(5dt,5dt);
OutputRegion = outputRect;
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
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
Do you have any sample code for this?
Thanks!
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
サインインしてコメントを残してください。