Scripts: Managing Position

Sample demonstrating object position.

Report Template:

dataBand1.InstanceCount = 100 (property sets amount of times the band displays its content in the report)

textBox1.Value = dataBand1.LineNumber (output of the number of the current line)

textBox1.Location (dynamic property, Binding) = “PerpetuumSoft.Framework.Drawing.Vector(0.25f+1f*((dataBand1.LineNumber - 1) % 5),0f).ConvertUnits(Unit.Centimeter,Unit.InternalUnit)”

Every five TextBox objects are displayed with the right shift by 1 cm.

ConvertUnits method will convert measures.

Report:

Add Feedback