add-in PowerPoint comment faire un Events?
Bonjour Developpeur, Developpeuze,
j'ai rencontre un petit problème que je n'arrive pas à résoudre. du coup c'est un peu en train de devenir un gros problèmes.
je suis sous visual Studio et je suis en train de travailler sur la création d'un add-in pour powerPoint. Je dois creer des bullets. ce que j'arrive à faire sans problème en faisant comme ca:
Code:
1 2 3 4 5 6 7 8 9 10 11
| shape.TextFrame.TextRange.ParagraphFormat.Bullet.Font.Name = "Webdings";
shape.TextFrame.TextRange.ParagraphFormat.Bullet.Font.Bold = Microsoft.Office.Core.MsoTriState.msoFalse;
shape.TextFrame.TextRange.ParagraphFormat.Bullet.Font.Italic = Microsoft.Office.Core.MsoTriState.msoFalse;
shape.TextFrame.TextRange.ParagraphFormat.Bullet.Font.Shadow = Microsoft.Office.Core.MsoTriState.msoFalse;
shape.TextFrame.TextRange.ParagraphFormat.Bullet.Font.Underline = Microsoft.Office.Core.MsoTriState.msoFalse;
shape.TextFrame.TextRange.ParagraphFormat.Bullet.Font.Emboss = Microsoft.Office.Core.MsoTriState.msoFalse;
shape.TextFrame.TextRange.ParagraphFormat.Bullet.Character = 60;
shape.TextFrame.TextRange.ParagraphFormat.Bullet.Font.Color.RGB = color.ToArgb();
shape.TextFrame.TextRange.ParagraphFormat.Bullet.Font.Size = selection.TextRange.Font.Size/2; |
le soucie c'est que je veux rendre la taille (size) cela plus dinamyc.
c'est à dire qu'il faut que la taille de ma bullet soi fonction de celle de mon texte???
Merci de m'aider.