Page tree

Versions Compared

Key

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

PowerPointWriter allows you to insert images in data markers. Images can be inserted using

Excerpt

To insert an image into your PowerPointWriter presentation use a data marker with the image modifier.

Using the Image Modifier

Excerpt

The image modifier can be used to insert images into a data marker.

To insert an image into a data marker using the image modifier:

  1. Create or open a PowerPointTemplate
  2. Add the image modifier in parenthese to the data marker in which you want to insert the image. For example, change %%=Company.Logo to %%=Company.Logo(image)
  3. If desired, set the image modifier's dimensions and sizing mode.

Setting the Image size

There are three ways to set the size of the imported image.

1.

...

Import the image with its original dimensions

If the image modifier is used without arguments the image will maintain its original dimensions.
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.
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).
ex. %%=Company.Logo(1,2)
To use a scaling mode, add it as the first parameter in your modifier.
ex. %%=Company.Logo(image(3,1,2))

...