Bonjour Devellopeur, devellopeuze,

je suis en train de travailler sur un projet qui requiert un petit coup de pouce. je travaille en c# sur visual studio 2008
j'ai du mal à utiliser la fonction suivante:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
 selection.TextRange.ParagraphFormat.Bullet.Picture(


facile me direz vous. et ben pas tant que ça pour moi.
j'arrive à récupérer une image extérieur à mon programme en faisant ça
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
 
 selection.TextRange.ParagraphFormat.Bullet.Type=PpBulletType.ppBulletPicture ;
selection.TextRange.ParagraphFormat.Bullet.Visible=Microsoft.Office.Core.MsoTriState.msoTrue;
selection.TextRange.ParagraphFormat.Bullet.Picture("C:\\folder\\image.png");
juste là pas de problème.elle apparait bien.

mais une image extérieur ne m'arrange pas . jai donc intégrer mon image.png dans mes ressources intérieur (dans "Ressources.resx")

mais du coup, j'arrive plus à la récupérer.
j'ai écris

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 
 
selection.TextRange.ParagraphFormat.Bullet.Type=PpBulletType.ppBulletPicture ;
selection.TextRange.ParagraphFormat.Bullet.Visible=Microsoft.Office.Core.MsoTriState.msoTrue;
 
selection.TextRange.ParagraphFormat.Bullet.Picture("image.png");
mais je ne vois pas mon image

pareil pour

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 
 
selection.TextRange.ParagraphFormat.Bullet.Type=PpBulletType.ppBulletPicture ;
selection.TextRange.ParagraphFormat.Bullet.Visible=Microsoft.Office.Core.MsoTriState.msoTrue;
 
selection.TextRange.ParagraphFormat.Bullet.Picture("image");
rien n'y fait. elle n'apparait pas aidez moi svp.