0 Replies Latest reply on Mar 13, 2007 8:57 AM by justin_beckwith

    Printing Text

      Hi All,
      when attempting to print a large amount of text in flex, I am running into some line breaking issues. When the height of the rendered text control is larger than that of a page, the last line of text may be split into two, over the pages. There also doesn't seem to be a way to enforce a page by page top / bottom margin. Code:

      var text : Text;
      var printJob : FlexPrintJob;

      printJob = new FlexPrintJob();

      text = new Text();
      text.htmlText = "very long piece of text, at least two pages worth here";
      text.width = 500;

      Any help would be appreciated