Documentation suggestion about Document.UpdatePageLayout

Hello,


I was having trouble saving documents to PDF, jpg and bmp format.
It looked like the modifications I made to the document where not taken in account.
But it worked well with doc, docx and odt.

And after some struggling I came across Document.UpdatePageLayout method documentation and I saw the light =)

Maybe I’m not so good at finding information, or maybe my help file is not up to date but…

I think it would be funky to have a link or something mentioning UpdatePageLayout in the Document.Save method help page.

Peace and thank you.

Hi Arnaud,


Thanks for your suggestion. We will improve documentation in this regard. This method is automatically invoked when you first convert a document to PDF, XPS, image or print it. However, if you modify the document after rendering and then attempt to render it again - Aspose.Words will not update the page layout automatically. In this case you should call UpdatePageLayout method before rendering again.

Best regards,