Jak programowo napisać pogrubiony tekst do dokumentu programu Word bez pogrubienia całego dokumentu?

Mój program musi generować bardzo proste raporty w biurze.doc format (nie XML), a niektóre części dokumentu muszą być pogrubione. Szukałem dokumentacji dladefiniowanie zakresów, co częściowo wynika z mojego kodu.To część dokumentacji tak naprawdę nie daje mi wystarczająco dużo szczegółów, aby wdrożyć to ogólnie w moim dokumencie. Oto mój kod do tej pory:

object miss = System.Reflection.Missing.Value;
object Visible = true;
object start = 0;

Microsoft.Office.Interop.Word.Application WordApp = new Microsoft.Office.Interop.Word.Application();
Document report = WordApp.Documents.Add(ref miss, ref miss, ref miss, ref miss);

String header = "Bold Header: ";
Range headerRange = report.Range(ref start, ref miss);
headerRange.Text = header;
headerRange.Font.Bold = -1;

String data = "Information underneath the header";
Range dataRange = report.Range();
dataRange.Text = data;
dataRange.Font.Bold = 1;

object filename = "test.doc";

report.SaveAs(ref filename, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss, ref miss);
object saveChanges = Microsoft.Office.Interop.Word.WdSaveOptions.wdPromptToSaveChanges;
object originalFormat = Microsoft.Office.Interop.Word.WdOriginalFormat.wdWordDocument;
object routeDocument = true;
WordApp.Visible = true;

Daje to dokument tekstowy zawierający tylko tekst**Information underneath the header**. To prosty przykład.

Mój dokument nie stanie się bardziej skomplikowany, ale mam nadzieję wygenerować dokumenty Worda na podstawie zmiennych ilości danych, z pogrubionym tekstem i pogrubionym tekstem rozproszonym w całym tekście.

questionAnswers(3)

yourAnswerToTheQuestion