Menu

How to print a blank line

Help
2008-01-31
2013-04-10
  • Nobody/Anonymous

    Hello -

    I can't figure out how to print a blank line. I tried this:

    grid.add(new EmptyPrint(), GridPrint.REMAINDER);

    but it didn't work.

    Any suggestions?

    Thanks

     
    • Matthew Hall

      Matthew Hall - 2008-01-31

      Have you tried:

      grid.add(new LineBreakPrint(fontData), GridPrint.REMAINDER);

       
    • John Benson

      John Benson - 2008-02-01

      It worked like a charm!

      Plus, for some reason, I'm getting the other line of code to work too. The EmptyPrint() line above. They both seem to work.

      Thanks Matthew - this is a TERRIFIC plugin for printing in SWT!

       

Log in to post a comment.

MongoDB Logo MongoDB