Hello. I am trying to add some pdf files (pdf and text) and all works ok.
If i must know in where page begins the texts, how i van know it?
There is a easy method to know before save pdf document?
Method for example wxPdfDocument::MultiCell returns the nymber of pages when puts text in pdf?
wxPdfDocument::PageNo() method gives current pages of pdf if haven’t save it before?
Sorry, PageNo() works just fine. My wrong.
Some else. I have pdf file with page 600X825 and i whant to insert in my A4 page. Some advice for scale page?
Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
2 posts • Page 1 of 1
dkaip wrote:I have pdf file with page 600X825 and i whant to insert in my A4 page. Some advice for scale page?
After you have imported the page from your pdf file, you can add it with method UseTemplate. Method UseTemplate allows to specify a new width and/or height. The new width and/or height will be used to scale the template (imported page), so that it fits to the A4 page. You should only specify either width or height to avoid that the inserted page image will become distorted.
Who is online
Users browsing this forum: No registered users and 2 guests