Skip to content

Commit b2028e8

Browse files
Modified the xml comments properly
1 parent 6a8c389 commit b2028e8

File tree

1 file changed

+2
-2
lines changed
  • Tables/Change-font-of-table-content/Change-font-of-table-content

1 file changed

+2
-2
lines changed

Tables/Change-font-of-table-content/Change-font-of-table-content/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using (FileStream inputStream = new FileStream("Data/Input.docx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
55
{
6-
// Open the input HTML format document.
6+
// Open the input Word document.
77
using (WordDocument document = new WordDocument(inputStream, FormatType.Docx))
88
{
99
// Find a table by Title.
@@ -23,7 +23,7 @@
2323
// Check if the child entity is a text range.
2424
if (entity is WTextRange)
2525
{
26-
// Apply character format to change the font to Algerian for the text range.
26+
// Change the font to Algerian for the text range.
2727
(entity as WTextRange).CharacterFormat.FontName = "Algerian";
2828
}
2929
}

0 commit comments

Comments
 (0)