Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If the image modifier is used without arguments the image will maintain its original dimensions.

Code Block

   _ex._ *%%=Company.Logo(image)*
2. Size the image to match the text box containing the data marker.

If the image modifier is used with a scaling mode as its only parameter, the image will be scaled accordingly and sized to fit the containing text box.

Code Block

   _ex._ *%%=Company.Logo(image(1))*
3. Specify the dimensions as parameters in the image modifier

The image modifier can take parameters specifying the image dimensions. Dimensions can also be used with a scaling mode. Dimensions are in inches.
The syntax for specifying an images dimensions without the scaling mode is image(width, height).

Code Block
 
   _ex._ *%%=Company.Logo(1,2)*

To use a scaling mode, add it as the first parameter in your modifier.

Code Block
 
   _ex._ *%%=Company.Logo(image(3,1,2))*

Anchor
modes
modes
The scaling mode can have the following values:

...