spead.. about printHeader

Posted by: cokewoman on 8 September 2017, 12:45 pm EST

  • Posted 8 September 2017, 12:45 pm EST

    hi~


    it's first time to post a question.


    I'd like to display 3lines printheader (below)



                   printheader2


                                         printheader3


     


    Is it possible?
    i haven't found any other option with displaying printing header.
    looking forward to get answer clearly..help me..

  • Replied 8 September 2017, 12:45 pm EST

    You can insert new lines in the header but it is not possible to have three different headers.
  • Replied 8 September 2017, 12:45 pm EST

    Hello,


    We do have escape codes you can use to put newline characters in the Header property of the PrintInfo. Here is some code to create 3 lines with the 3rd line centered.

     
        Dim p As FarPoint.Win.Spread.PrintInfo
    p = FpSpread1.Sheets(0).PrintInfo
    p.Preview = True
    p.Header = "Line1/nLine2/n/cLine3"
    FpSpread1.PrintSheet(0)
     
  • Replied 8 September 2017, 12:45 pm EST

    Thank you for your help~^^


    i'll try again.


    have a good day~

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels