I’d like to add page breaks to my C2E output so that when printed its a bit nicer, I was hoping that following code would achieve it but its not working:
HTML=@"<p style='page-break-before: always;'>";
Any clues ?
Cheers,
Chris
The opinions expressed in these forums do not represent those of C2, and any discussion of profit/loss is not indicative of future performance or success. There is a substantial risk of loss in trading. You should therefore carefully consider whether such trading is suitable for you in light of your financial condition. You should read, understand, and consider the Risk Disclosure Statement that is provided by your broker before you consider trading. Most people who trade lose money.
I’d like to add page breaks to my C2E output so that when printed its a bit nicer, I was hoping that following code would achieve it but its not working:
HTML=@"<p style='page-break-before: always;'>";
Any clues ?
Cheers,
Chris
Try this:
HTML = "<br/>";
Does that work for you ?
It gives me the expected line break.
I just wanted to format my printed output a little but its no biggie.
Cheers.