wie bilder in word insert und scalieren
hi , muesste bilder beim einfuegen auf max 10cm hoehe skalieren ,
mit
_WordDocFindReplace($oDoc, $qlastfil, "", 0, $oRange) ;// qq66yy Runs the specified find and replace operation.
With $oRange
; Insert a new line, updating the range.
.insertAfter (@CR)
.insertAfter (@CR)
; Collapse Einsturz the range to the end point
.Collapse ($wdCollapseEnd)
EndWith
; Add the specified picture to the range
sleep(66)
$sPicPath = $qqGDirectory & "\" & $pimgnamqq & "."& $qexten
_WordDocAddPicture($oDoc, $sPicPath, 0, 1, $oRange)
sleep(66)
$oDoc.Range.InsertAfter($pimgnamqq & @CRLF )
fueg ich bilder , 2 pro seite in word ein
nun finde ich nicht wie ich die bilder auf 10 cm hight max scaliere (width is dann 13.3 cm aber wenn ein bild im portrait format dabei ist soll es einfach auf 10 cm hight scaliert werden