About the Author

author photo

I'm currently administering and providing content for our new Wiki at http://www.insightsfour51.com/wiki

See All Posts by This Author

Document Actions Series: ResizePage

Resizing a page is a capability that so many project builders have requested. Generally, there is a better alternative, but if you feel this is the only solution we’ve built a powerful set of document actions that will handle page resizing for you.

I’ve created a demo project that allows for width and height inputs. This is just one example of the 4 types of document actions.

There are 4 different page resize document actions: ResizePage, ResizeWidth, ResizeHeight, ResizePageByPercentage. The demo focuses on the ResizePage action, but the principles are the same.

The first thing to consider is that these actions require proper measurement values. For example, you can define a page size with the following values: Width = 5in, Height = 3in. If the input is not in the proper measurement format an error will be thrown. That’s why the demo uses a dropdown selection. That makes enforcement of those measurement formats easy.

Another major factor to consider is that these actions ONLY resize the page. Not the objects on the page. If that’s an issue you will have to ensure you’ve set all your project elements to flex appropriately. In the demo each element has many flex and copy fit rules applied. It will render correctly with any dimensions that are chosen.

I’ll repeat that these actions are most likely never the best solution for your products. They have a great probability of formatting your output incorrectly and without warning. The more content on a document the more likely it is there will be problems. I almost always recommend using multiple projects and or variable documents.

I have set up a demo product named “Documents Actions ResizePage”. Go to the site to see it in action, and also download the project files I created.

VN:F [1.9.0_1079]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.0_1079]
Rating: 0 (from 0 votes)
Google Buzz

Popularity: 85%

  • Share/Bookmark
 

Post a Response

CommentLuv Enabled