Le Tue, 16 May 2017 04:39:38 +0200,
André Wobst <[email protected]> a écrit :

> Hi René,
> 
> change "brochure.append(page)" to
> "brochure.append(document.page(page))".
> 
Jes, its not the first time I walked into this trap.


> A canvas is not a page, and cannot be inserted into a document
> without wrapping it in a page object.
> 
> The "writePDFfile" and similar methods of a canvas are just
> convenience methods to directly save a canvas into a file for a
> rather common use case. When creating documents yourself (for example
> for multiple page documents), you need to properly (i.e. manually)
> create pages and insert those into a document. Its just the way it
> is ...
> 
> Best,
> 
> 
> André
> 

rené
-- 
René Bastian
www.pythoneon.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to