Scaling an embedded picture to the full screen page width using VB

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using VB I've inserted a picture into PowerPoint, but now want to scale it
to the full screen width of the page. The scale factor may change with each
picture inserted so is there sometime like a "Fit to Page" option. Can anyone
supply me with some sample code> Thanks KEN
 
Using VB I've inserted a picture into PowerPoint, but now want to scale it
to the full screen width of the page. The scale factor may change with each
picture inserted so is there sometime like a "Fit to Page" option. Can anyone
supply me with some sample code> Thanks KEN

In addition to TAJ's suggestion, you probably just need to set the shape's
LockAspectRatio property to True before setting the Width. That'll keep the
height proportional.
 

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

Back
Top