I've been trying to adjust the spacing between lines of text in a document by inserting blank newlines and specifying a font size. I've tried the following code:
However, I've noticed that the arrow at the end of these blank lines isn't changing font size, preventing me from achieving the desired look.
Is there a method to modify the font size of the arrow at the end of these lines?
- Code: Select all
Spire.Doc.Documents.Paragraph paragraph = sec.AddParagraph();
paragraph.AppendText("(ABCDE})");
//...?
paragraph.AppendText(@"
").CharacterFormat.FontSize = 5f;
paragraph.AppendText("1234");
///?
paragraph.AppendText($"{Environment.NewLine} ").CharacterFormat.FontSize = 5f;
paragraph.AppendText("1234");
paragraph.AppendText($"{Environment.NewLine} {Environment.NewLine}").CharacterFormat.FontSize = 5f;
paragraph.AppendText($"CCC");