Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
UltraPrintDocument do not display the Footer's text
posted

Hi,

I'm using the Infragistics 10.3 WinForms suite. I try to print an UltraGrid using an UltraGridPrintDocument with a custom Header and Footer. I set the properties TextLeft, TextCenter and TextRight for both Header and Footer. On print preview the texts on the header are displayed properly but there is no text on the footer.

The footer is displayed and has Height set to a positive value (e.x. 100), but it is empty.

Exactly the same code used to work with Infragistics 6.2. After upgrading to 10.3 version, the footer texts are never shown. Are there any extra properties that we need to set in this new version of Infragistics WinGrid?

Thank you in advance.

 

Parents
No Data
Reply
  • 235
    posted

    After some further tests it appears the behavior happens when the the vertical alignment of the footer is set to bottom hence the text is drawn outside the visible area.

    PrintDocument.Footer.Appearance.TextVAlign =

    VAlign.Bottom;

    This is strange because the same code works on the 6.2 Infragistics version.

Children
No Data