How to control image size using nested INCLUDEPICTURE field

2

2dogs

I have a main document that uses 2 INCLUDEPICTURE fields. The code for the 2
fields looks like this:

Example 1: { INCLUDEPICTURE "Image1.WMF"..\* MERGEFORMAT }

Example 2: { IF { MERGEFIELD Qualified } = "yes" "{ INCLUDEPICTURE
"Image2.WMF"..\* MERGEFORMAT }" }

In the first example I can select the image, resize it, save the document,
reopen the document and the image will always be at the size I adjusted it
to. It will also be the correct size in the merged documents.

In the second example the INCLUDEPICTURE field is nested inside of an IF
field. When the IF field evalutes true the picture is included otherwise it
is not. In this example, if I resize the image and save the document, upon
reopening the document the picture always returns to its original size rather
than to the size that I set it at. Also, when I merge the document the
picture does not remain at the correct size but instead returns to its
original size in each of the merged documents.

How can I keep the image the correct size in the second example?
 
M

macropod

Hi 2dogs,

Where you have the INCLUDEPICTURE field in your IF statement, insert a new
paragraph thus:
{IF{MERGEFIELD Qualified} = "yes" ¶
}
then attach a textbox to the new line starting with the closing brace (i.e.
'}'), then format the textbox to the required size and put the
INCLUDEPICTURE field inside the textbox in-line with the text (format the
para with no leading spaces, indents etc).

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top