Hi,
In my opinion, even if you are using a template, there is no guarantee that the page layout will be fixed every time you open it, because many of the settings are based on the program's settings on the local computer rather than following the file, and the file only stores the file data and some basic configurations, and more settings can only be decided by the local program.
If you go through code, make sure you have certain permissions to modify the local settings.
I can't think of anything other than exporting it as an image.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.