Hi there,
I would like to lock the aspect ratio of an image that is embedded in a shape when inserting images from VBA. From the GUI this is simple:
Format Comment/Colors and Lines/Fill Effects/Picture/ then there is a nice checkbox. Despite my best efforts, I haven't been able to find how to trigger this switch in VBA.
There is another aspect ratio that deals with the comment itself, not the embedded picture. This aspect ratio is easy to change - from the GUI it is: Format Comment/Size/LockAspectRatio.
In VBA, this checkbox is under the Comment.Shape.LockAspectRatio property.
Any ideas on where the picture is stored in the object hierarchy and how to lock its aspect?
I would like to lock the aspect ratio of an image that is embedded in a shape when inserting images from VBA. From the GUI this is simple:
Format Comment/Colors and Lines/Fill Effects/Picture/ then there is a nice checkbox. Despite my best efforts, I haven't been able to find how to trigger this switch in VBA.
There is another aspect ratio that deals with the comment itself, not the embedded picture. This aspect ratio is easy to change - from the GUI it is: Format Comment/Size/LockAspectRatio.
In VBA, this checkbox is under the Comment.Shape.LockAspectRatio property.
Any ideas on where the picture is stored in the object hierarchy and how to lock its aspect?