J'ai effectivement consult� cet HowTo ( ainsi que la troisi�me partie d'un tr�s bon bouquin (-: ).
Malheureusement, je n'arrivais pas � placer mon image tout en haut de ma feuille; elle restait toujours sous la marge sup�rieure.
D'ailleurs je ne comprend toujours pas pourquoi mon code ne donnait pas le m�me r�sultat :
com.sun.star.text.TextContentAnchorType.AT_PAGE MonImage.VertOrient = com.sun.star.text.VertOrientation.TOP MonImage.VertOrientRelation = com.sun.star.text.RelOrientation.PAGE_FRAME MonImage.HoriOrient = com.sun.star.text.HoriOrientation.LEFT MonImage.HoriOrientRelation = com.sun.star.text.RelOrientation.PAGE_LEFT
Alors que �a, effectivement , �a fonctionne tr�s bien :
With MonImage .AnchorType = com.sun.star.text.TextContentAnchorType.AT_PAGE .VertOrient = com.sun.star.text.VertOrientation.TOP .VertOrientRelation = com.sun.star.text.RelOrientation.PAGE_FRAME .HoriOrient = com.sun.star.text.HoriOrientation.LEFT .HoriOrientRelation = com.sun.star.text.RelOrientation.PAGE_LEFT End With
J'avoue que j'aimerais bien comprendre o� �tait mon erreur.
Merci,
Martin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
