Resize Word Doc
- 18 Jul 2023
- 1 Minute to read
- Print
- DarkLight
Resize Word Doc
- Updated on 18 Jul 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 8.13.0 |
Last Modified in Version | 8.13.0 |
Location | Data > MS Word |
The Resize Word Doc step applies a specific paper size to the mapped document. Efficiently maintain consistency and uniformity in paper sizes across various documents, saving time and effort in the document formatting process.
Properties
Margins
Property | Description | Data Type |
---|---|---|
Change Margins | When set to true, this option allows specifies the desired dimensions for the left margin, right margin, top margin, and bottom margin in inches. | Boolean |
Page
Property | Description | Data Type |
---|---|---|
Paper Size | Specify the desired dimensions for the document. Select from a range of standard paper sizes, like letter, legal, and A4, or provide custom dimensions. | --- |
Orientation | Determine the preferred orientation of the document's content on the page. Choose between two options: "Portrait" or "Landscape." Selecting "Portrait" sets the document in a vertical layout, while choosing "Landscape" arranges the content horizontally. | --- |
Inputs
Property | Description | Data Type |
---|---|---|
Document | The document that will be resized based on the dimensions provided in this step. This document serves as the target for applying the desired changes to its paper size, margins, or orientation. | FileData |
Outputs
Property | Description | Data Type |
---|---|---|
Resized Word Doc | The modified document with the new paper size applied. | FileData |
Common Errors
Object reference not set to an instance of an object
If the Document input is not specified, the step will result in the following error; please ensure the step is mapped correctly.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Resize Word Doc Paper 1[ResizeWordDocPaper] in flow [Display Steps]: Object reference not set to an instance of an object.
---> System.NullReferenceException: Object reference not set to an instance of an object. at DecisionsFramework.Design.Flow.CoreSteps.Word.ResizeWordDocPaper.Run(StepStartData data
at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData
at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
--- End of inner exception stack trace ---
Was this article helpful?