Skip to content

Commit

Permalink
Merge pull request #41 from hisuwh/chore/update-table-width-example
Browse files Browse the repository at this point in the history
Update table width example
  • Loading branch information
PrzemyslawKlys authored Oct 7, 2022
2 parents 7010fd2 + ddce39f commit afc64d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OfficeIMO.Examples/Word/Tables/Tables.Create5.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ internal static void Example_TablesWidthAndAlignment(string folderPath, bool ope
wordTable.LastRow.LastCell.Paragraphs[0].Text = "Last Cell";

wordTable.WidthType = TableWidthUnitValues.Pct;
wordTable.Width = 3000;
wordTable.Width = 5000; // 5000 is a magic number that represents 100% in the Open XML spec for table width
wordTable.Alignment = TableRowAlignmentValues.Center;

wordTable.Title = "This is title";
Expand Down

0 comments on commit afc64d5

Please sign in to comment.