Posted 14 September 2017, 12:13 pm EST
Hello,
Is there anyway we can hide the title for printed document or move it to the right?
Thanks.
Razib
Forums Home / Wijmo / General Discussion
Posted by: raziboh on 14 September 2017, 12:13 pm EST
Posted 14 September 2017, 12:13 pm EST
Hello,
Is there anyway we can hide the title for printed document or move it to the right?
Thanks.
Razib
Posted 14 September 2017, 12:13 pm EST
Hello Razib,
We are sorry, title can be hidden only if headers/footers are not visible. This is the standard behavior of the Print method.
However, we have escalated this issue to the concerned team for further investigation with id 281035. We will let you know as soon as we get any update on this.
Thanks,
Manish Kumar Gupta
Posted 14 September 2017, 12:13 pm EST
Great. Thanks Manish. Please keep us posted.
Posted 8 January 2018, 8:20 am EST
Hi,
We are sorry for the late reply.
The document title is rendered by the browser’s infrastructure, outside the document itself.
browsers prevent documents from using titles that consist only of whitespace. If you really want to hide the document title so it doesn’t appear on headers and footers, the best option is to set the title property to a non-breaking space character:
doc.title ='\u00A0';
For more information on this, please see this link:
https://stackoverflow.com/questions/23556255/how-can-i-have-a-blank-title-page
~Manish