|
| Iniciado por guest, 22,jun. 2016 13:02 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 22,junio 2016 - 13:02 |
Hello,
I am trying to create a report where the page length is adapted to the size of the content.
The report is being inserted into a word document and i dont want large blank spaces.
Hope thats clear
thanks
iso |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,junio 2016 - 15:02 |
Hi
it seems to me that it would be much easier to prepare your report as text (or rtf) and merge it in your word document (a simple search and replace of a tag would do the work)
If you really want to print, then I think you'll need to use low level functions (iPrint, iLine, etc)...
Quite a long time ago, I wrote code allowing me to simulate the printing that way and calculate the height/length of a whole report before printing for real, so I know what you are trying to do is possible... Not the easiest way in my opinion, though
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,junio 2016 - 20:17 |
Hi Fabrice
I did just that created an .rtf file instead of a .pdf then substituted:
Range>>InlineShapes>>AddOLEObject
for
Range>>InsertFile()
works a treat many thanks
iso |
| |
| |
| | | |
|
| | | | |
| | |
|