I set 2 lines of text as “title1” style and 2 lines of text as “body1” style in word, but with the name that cannot get the style, this is code:
Debug.WriteLine(“style:” + paragraph.ParagraphFormat.Style.Name);
Output …...9:42am #1 I set 2 lines of text as “title1” style and 2 lines of text...noskov July 23, 2023, 3:51pm #2 @lovecomputer Unfortunately, I...