SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Feb 2003
    Location
    belgium
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy msoAutoSizeTextToFitShape with COM Powerpoint

    Hi guys,

    I'm trying to make this work for the last few hours but I can't get it to work ... argh!

    I've got a php script which creates ppt presentations. For some of the ppts the text does not fit in the textbox. I would like to use the AutoSizeTextToFitShape feature but it doesn't work. Could someone help me please? This is the last code I tried:
    PHP Code:
    $pres->Slides[$a]->Shapes->Item(2)->TextFrame2->AutoSize msoAutoSizeTextToFitShape

  2. #2
    SitePoint Member
    Join Date
    Feb 2003
    Location
    belgium
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is someone familiar with this problem please ?

  3. #3
    We're from teh basements.
    Join Date
    Apr 2007
    Posts
    1,205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unfortunately, you're not going to find many PHP developers who have the depth of knowledge about COM and specific Microsoft products to answer your question. You may find a site owned by someone who is an authority on this subject in the same way that kksou seems to be the sole authority on PHP-GTK.

  4. #4
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Location
    Texas
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know if this will help you, but I ran across this new PHP class for PowerPoint yesterday.
    http://phppowerpoint.codeplex.com/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •