Component One - Report Designer - Fixed position issue

Posted by: shivam.thakur on 12 March 2019, 2:04 am EST

  • Posted 12 March 2019, 2:04 am EST

    I am printing one report two times (like customer copy and office copy). There is dynamic data in my report and i need to tear my printed paper in two half. So i need to fix position for my perforated line so that it get fixed position irrespective to dynamic data. I am using Letter size paper to print this report and perforated line is going up an down according to data (i need to fix this line).

    Is there a way to get height of paper size and divide it by 2 and use -
    perforatedLine.Top = pageSize/2

    If yes than suggest how to get it and how to fix position of this line?
  • Marked as Answer

    Replied 12 March 2019, 10:08 pm EST

    Hi,

    For this, you should access the RenderHeight property that returns the actual height of the section. You may add these values and divide the sum by two.
    Also, you should do this in EndPage event of FlexReport, so you get the correct height.
    Let me know, if you need further assistance.

    Regards,
    Ruchir
  • Replied 25 March 2019, 12:49 am EST

    Thanks for replying. I'll implement and will let you know.

    Thanks a lot!!
Need extra support?

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

Learn More

Forum Channels