Click to See Complete Forum and Search --> : VBA and powerpoint 97 add photo to slide problem


martin_holmes
August 22nd, 2001, 08:23 AM
hi all
been having a little problem i want to insert a photo onto a slide and keep the photos natural proportions, but in pp97 the addpicture function has the width and height attributes as non-optional, which when automated brings in all the photos the same size, which is no good to me as i need to place the photo on the correct background according to its natural dimensions. In pp2000 the attributes are optional and it works perfectly.

I have tried the addOLEoject function this seems very slow and has given problems by not diplaying the photo only an icon....indicating jpeg

A solution to this problem would be great as this is quite urgent
many thanks

martin.

martin_holmes
August 22nd, 2001, 08:23 AM
hi all
been having a little problem i want to insert a photo onto a slide and keep the photos natural proportions, but in pp97 the addpicture function has the width and height attributes as non-optional, which when automated brings in all the photos the same size, which is no good to me as i need to place the photo on the correct background according to its natural dimensions. In pp2000 the attributes are optional and it works perfectly.

I have tried the addOLEoject function this seems very slow and has given problems by not diplaying the photo only an icon....indicating jpeg

A solution to this problem would be great as this is quite urgent
many thanks

martin.