Vertical Center RichTextBox

Hello everyone!


I am using RichTextBoxes on a new report that's intended to be used to print out letters.


But what I noticed was that the RichTextBox doesn't seem to support centering vertically (the buttons are all disabled).


Does anyone know if there's a way I can do this? Letter Body should be centered on the paper...


Thanks for your help!

Comments

  • Hello!

    Set AutoSize / CanGrow = true for it and center the RichObject itself (or its container/child band) vertically on the page using code in BeforePrint, based on the height of the prepared/measured content.

This discussion has been closed.