【发布时间】:2019-03-08 15:46:12
【问题描述】:
我正在尝试使用 Interop Word 编写表格,但我不想允许跨页中断。所以我使用 Rows.AllowBreakAcrossPages 属性,但它对我不起作用,我不知道问题是什么?
有什么帮助吗?
Word.Table table = rngDoc.Tables.Add(rngDoc, numFilasNueva, numColumnas);
table.Rows.AllowBreakAcrossPages = (int)Microsoft.Office.Core.MsoTriState.msoFalse;
【问题讨论】:
-
是行跨页还是表中断?签出this
-
嗨@Magnetron,是打破桌子。谢谢你!!!