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. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

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 September 26, 2018