Thread: Microsoft Powerpoint AutoShape / object structure

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    101

    Question Microsoft Powerpoint AutoShape / object structure

    HI!

    I have two expert questions:

    1. Is it possible to add new (own) End Styles of arrows in the Format AutoShape window (Colors and Lines) drop down box?

    2. How is it possible to access the object structure in PowerPoint. I mean by this accessing the objects that are created on the given slide. I would like to identify the selected object, maybe check its category (arrow, text, etc), take and pass it to my program. Then put the changed object back into the slide instead of the selected object. Off course I will ensure the right format. But what format is it?



    I am all ears!

    gicio

  2. #2
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    I believe it is a Shape object, I once had to do a "fill in the blank" spelling macro-program in PPT for grade ones in Comp Apps... can't remember much of it anymore.

    To get it, it's something like this:

    Window.ActivePresentation.ActiveSlide.Shapes[index]

    That's probably not right, but it's something along those lines... get the active slide, and there should be an array called Shapes, which contains all the objects on the slide. It's too bad I deleted that project earlier
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Telling a shared_ptr not to delete object?
    By TriKri in forum C++ Programming
    Replies: 5
    Last Post: 08-16-2008, 04:26 AM
  2. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM
  3. Structure Problem
    By Generator in forum C Programming
    Replies: 5
    Last Post: 07-28-2003, 11:54 PM
  4. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 10:52 AM
  5. C structure within structure problem, need help
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 11-30-2001, 05:48 PM