Auto resize graphic to fit table

M

MJSEA

I've created a mail merge to insert a series of graphics into tables using
INCLUDEPICTURE "{MERGEFIELD "GRAPHIC_FILENAME}" \* MERGEFORMAT .
Is there a way I can automatically fit the graphic to the size of a table
cell?

What I'm looking for is the opposite of the "automatically resize table to
fit contents"; instead, I want to resize the contents (i.e., the graphic) to
fit the table.
 
S

Suzanne S. Barnhill

If you disable auto resizing in the table and set the cell to an exact
height, the inserted picture will not exceed the height of the cell, but if
the aspect ratio of the picture is different from that of the cell, it may
not fill the width or may be truncated. If all the pictures have the same
aspect ratio, then you can set a preferred width for the cell as well (I
have done this successfully for a membership directory where all the member
photos were in at 3:4 ratio). Remember to set cell margins to 0".
 
Top