Options for PrintToPDF HTMLRenderer method
Posted: Thu Aug 13, 2020 2:21 pm
While using the PrintToPDF method of the HTMLRenderer you need to specify a file name where the current screen of the HTMLRenderer will be saved as a pdf file. Should this method be named SaveAsPDF instead since there is no printing involved ?
Also the method is capturing the screen in portrait mode and does not try to fit the screen in it. This is resulting in pdf files that shows a partial capture screen of the original screen when the screen does not fit the portrait mode (our application screen is more landscape ie wider than higher).
Is there a way to specify the 'PrintToPDF' method to go landscape instead of portrait and adjust the scaling so the whole screen is captured ?
Also the method is capturing the screen in portrait mode and does not try to fit the screen in it. This is resulting in pdf files that shows a partial capture screen of the original screen when the screen does not fit the portrait mode (our application screen is more landscape ie wider than higher).
Is there a way to specify the 'PrintToPDF' method to go landscape instead of portrait and adjust the scaling so the whole screen is captured ?