Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionWord.Paragraph modal1; modal1 = docword.Content.Paragraphs.Add(ref param); modal1.Range.Font.Name = "Times New Roman"; modal1.Range.Font.Size = 12; modal1.Range.InsertParagraphAfter(); modal1.Range.InsertParagraphAfter(); modal1.Range.InsertParagraphAfter(); modal1.Range.Text = "Texte à saisir"; modal1.Alignment = WdParagraphAlignment.wdAlignParagraphJustify; modal1.Range.ListFormat.ApplyListTemplate(lt, ref param, ref param, ref param); //application de la numérotation automatique Word.Paragraph modal2; modal2 = docword.Content.Paragraphs.Add(ref param); modal2.Range.Font.Name = "Times New Roman"; modal2.Range.Font.Size = 12; modal2.Range.InsertParagraphAfter(); modal2.Range.InsertParagraphAfter(); modal2.Range.Text = ""; modal2.Alignment = WdParagraphAlignment.wdAlignParagraphJustify; modal2.Range.ListFormat.ApplyListTemplate(lt, ref param, ref param, ref param); //application de la numérotation automatique Word.Paragraph modal3; modal3 = docword.Content.Paragraphs.Add(ref param); modal3.Range.Font.Name = "Times New Roman"; modal3.Range.Font.Size = 12; modal3.Range.InsertParagraphAfter(); modal3.Range.InsertParagraphAfter(); modal3.Range.Text = ""; modal3.Alignment = WdParagraphAlignment.wdAlignParagraphJustify; modal3.Range.ListFormat.ApplyListTemplate(lt, ref param, ref param, ref param); //application de la numérotation automatique Word.Paragraph modal4; modal4 = docword.Content.Paragraphs.Add(ref param); modal4.Range.Font.Name = "Times New Roman"; modal4.Range.Font.Size = 12; modal4.Range.InsertParagraphAfter(); modal4.Range.InsertParagraphAfter(); modal4.Range.Text = ""; modal4.Alignment = WdParagraphAlignment.wdAlignParagraphJustify; modal4.Range.ListFormat.ApplyListTemplate(lt, ref param, ref param, ref param); //application de la numérotation automatique