c#代码在打印前预览excel电子表格 [英] c# code to preview an excel spread sheet before printing
本文介绍了c#代码在打印前预览excel电子表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
c#代码在打印前预览excel电子表格或在预览模式下打开Excel工作表
解决方案
您可以使用Interop命令Excel显示打印件使用 Worksheet.PrintPreview Method进行预览 [ ^ ]
很少有关于互操作的文章,你会发现有趣的:
- 使用C#打开和导航Excel [ ^ ]
- Summ arize C#Control Excel技能 [ ^ ]
c# code to preview an excel spread sheet before printing or open a excel sheet in preview mode
解决方案
You can use Interop to command the Excel to show the print preview by using Worksheet.PrintPreview Method[^]
Few articles about interop, you could find interesting:
- Opening and Navigating Excel with C#[^]
- Summarize C# Control Excel Skills[^]
这篇关于c#代码在打印前预览excel电子表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文