Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用这个OpenXML 电子表格库在我的代码中创建 excel 文档。该项目没有任何文档。
我想将纸张方向从左到右更改为从右到左。那可能吗?
您可以使用 SheetView.RightToLeft 属性
SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { WorkbookViewId = (UInt32Value)0U, RightToLeft = true }; sheetViews1.Append(sheetView1); worksheet.Append(sheetViews1);