Image Repaint

T

ThorstenWujek

I have a problem with an image object within a word document.
I modify the Picture property during runtime. But the imige will not b
refreshed.

i have tried Application.ScreenRefresh, but this only effects th
text.
So there must be kind of <repaint>. Is that possible ?? Any hints ??

PS: The procedure is working, because when i minimize and maximize wor
the correct image is displayed(So this is a repaint)

Regards

Thorsten Wuje
 
G

Guest

Hi there.

This is a bug in WOrd. Try to expand the Picture with 1
pixel, and then decrease it with one.
Something like this picture.height=picture.heigth+1
picture.height=picture-height-1

Per Aage
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

I assume that the image is linked to the document, not embedded in it. If
that is the case, try updating the fields in the document.

ActiveDocument.Fields.Update

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

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