Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

Resize

Resize

The
Resize
transformer fits the input text to a specified size. It pads or truncates the text as required.
The following table describes the properties of the
Resize
transformer:
Property
Description
align
Defines the text alignment within the resized string. You can choose one of the following options:
  • left. Padding or trimming is on the right.
  • right. Padding or trimming is on the left.
allow_smaller_size
When selected, the Rezise transformer fits the input text to a specified size with padding if the string is smaller than the size defined by the
size
parameter. If not selected, and the input string is smaller than the specified size, the transformer fails.
name
A descriptive label for the component. This label appears in the log file and the
Events
view. Use the
name
property to identify the component that caused the event.
padding_character
Defines the padding character. Type the character or select a data holder that contains a character.
remark
A user-defined comment that describes the purpose or action of the component.
size
Defines the size of the output text. Type an integer or select a data holder that contains an integer.


Updated March 18, 2021