Quoting just me <[EMAIL PROTECTED]>:
> .
> $msword->{Visible} = 1 ;
> $msword->{DisplayAlerts} = 1 ;
> my $doc1 = $msword->Documents->Add() ;
> $doc1->Shapes->AddPicture("D:\logo.gif",0,1);
>
> ...
>
> The picture doesn't show up in the word doc.
> Is this the correct why to insert pictures into Word
> using OLE? I saw another Class called InlineShapes.
> Should i use that instead?
> thanks
You have two options:
my $image_1 = $doc1->Shapes->AddPicture(D:\logo.gif',
False, True, 200, 200, 50,50); # location 200x200, size 50x50
# or
my $image_2 = $doc1->InlineShapes->AddPicture('D:\logo.gif', False, True);
Nathaniel Bartusiak
TTMS, Keesler AFB
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs