Image wont retain formatting in 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?
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?MmRvZ3M=?=,
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?
I'd try turning the nested fields around.

{ IncludePicture {If { Mergefield Qualified } = "Yes" "Image2.wmf" "Empty.wmf" }
\* MergeFormat }

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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