none
How do I get a Shape Object's (picture) original size (in Word VBA)?

    Question

  • Hi everyone,
    Im looking for a way to get the original width and heigth of a picture in a Shape object in Word (2003 or 2007)
    I know I can use ScaleWidth and ScaleHeight to set the original dimensions, but Im looking to GET them, without having to change the Shape. Any ideas?

    JOHABE
    Friday, December 11, 2009 1:42 PM

All replies

  • Hi,

    As far as I konw the ScaleWith and ScaleHeight ,or the InlineShape.Reset() is the only way to retrieve the original size of the image.

    Thanks.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Friday, December 18, 2009 6:44 AM