dynamicmessages
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dynamicmessages [2015/09/21 14:48] – vic | dynamicmessages [2026/06/22 12:14] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 179: | Line 179: | ||
| ====Used to generate PDF' | ====Used to generate PDF' | ||
| You can use the same formatting as for dynamic messages to pass text to ExecWritePDF. | You can use the same formatting as for dynamic messages to pass text to ExecWritePDF. | ||
| - | However there is a big difference here. Only text and picture type are implemented at moment and position x,y is not the real position. position x is the offset from the left margin. position y is the offset from the previous element and is reset if new page is used. The whole process is one of just rendering one element under another and creating new pages whenever necc. | + | However there is a big difference here. Only text and picture type are implemented at moment. |
| + | |||
| + | For positioning of text you can only optionally specify x and y. [x][/x] and [y][/ | ||
| + | |||
| + | For position of images you can also use width. To make sure a small image is sharp enough. If ommited it will be maximized to page width. Height is derived from your width specified. If an image is to wide or high to fit on a page it will be scaled automaticly. | ||
| + | |||
| + | The whole process is one of just rendering one element under another and creating new pages whenever necc. | ||
| The pixel system is also different as your pages (excluding margin) are 475 x 682. A good font size is between 10-12 for text. Images are as sharp as their original is. | The pixel system is also different as your pages (excluding margin) are 475 x 682. A good font size is between 10-12 for text. Images are as sharp as their original is. | ||
| + | |||
| + | One extra type of element is available when using ExecWritePDF and that is [type]pagebreak[/ | ||
| + | |||
| + | Title and page number are rendered on each page automaticly as sort of watermarks. | ||
| + | |||
| + | ===Pagebreak=== | ||
| + | You can use the [element][type]pagebreak[/ | ||
| + | You can specify a background image here... it will always be strectched to full page width & height which is: 595x842. | ||
| + | You specify this image by adding [image]graphics/ | ||
| + | Furthermore if your first element is a pagebreak it will not cause a blank page, but will use the image specified for the background of the first page. | ||
dynamicmessages.1442846917.txt.gz · Last modified: 2026/06/22 12:13 (external edit)
