Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Event ReportDrawingArea.Layout (gb.report2)

This event is raised during the renderer layout time.

Event Layout ( Width As Float, Height As Float, Index As Integer )

  • Width The remain width in inch of the container

  • Height The remain height in inch of the container

  • Index The index on recurssive repetition

If your draw have some constraint you must to to return it during this event. The value must be given in inch.

Example

Public Sub ReportDrawingArea1_Layout(Width as Float, Height as Float, Index as integer)

  Last.Layout.Width = ReportSizeParser["3cm"].Toinch()
  Last.Layout.Height = Report.UnitToInch(2, "cm")

End