Help with Win32::OLE and WrapType

Discussion in 'Perl Misc' started by tttt@lemonfresh.ca, Jul 25, 2005.

  1. Guest

    Hi all,

    looking for some assistance with Win32::OLE.

    I have a script that inserts pictures into a word document. Problem is
    that it is ignoring my default setting and always inserting pictures
    overlayed over each other. I want the wraptype to be inline with text.


    my $picture =
    $document-> Shapes -> AddPicture (
    $filename,
    $wd->{msoFalse}, # link to file
    $wd->{msoTrue}, # save with document
    undef, undef, undef, undef, undef
    );

    The above works, but I want to set the WrapType of this picture to be
    the value of wd->{wdWrapInline}

    Can anyone assist?

    Thanks in advance,
    Jared
    , Jul 25, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Patrick.O.Ige

    Ole ole

    Patrick.O.Ige, Jul 16, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    476
    Patrick.O.Ige
    Jul 16, 2006
  2. Drew Pihera
    Replies:
    0
    Views:
    621
    Drew Pihera
    Feb 4, 2004
  3. Lance Hoffmeyer
    Replies:
    0
    Views:
    228
    Lance Hoffmeyer
    Nov 17, 2003
  4. Tom Welch
    Replies:
    0
    Views:
    166
    Tom Welch
    May 26, 2004
  5. Ninja67

    Help with Win32::OLE

    Ninja67, May 11, 2005, in forum: Perl Misc
    Replies:
    3
    Views:
    139
    Thomas Kratz
    May 12, 2005
Loading...

Share This Page