在 Visual Studio 2008 中的 C# Forms 应用程序中编辑 XPS 文件

发布于 2024-10-30 02:42:40 字数 125 浏览 8 评论 0原文

我想在我的 C# Forms (Visual Studio 2008) 应用程序中打开一个 .xps 文件,然后我想在文档顶部添加一些内容,然后使用不同的名称保存文档。

这是否可以在不创建 WPF 应用程序的情况下实现?

I want to Open a .xps file in my C# Forms (Visual Studio 2008) application and then I want to add some contents on top of the document and then save document with different name.

Is this possible to achieve without creating WPF application?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

初与友歌 2024-11-06 02:42:40

如果您只是尝试编辑 xps 文档而不显示它,那么是的,您可以跳过 WPF 用户界面。查看 System.Windows.XpsSystem.Windows.Xps.Packaging 命名空间,用于操作文档。

If you are simply trying to edit the xps document without displaying it, then yes, you can skip the WPF user interface. Check out the System.Windows.Xps and System.Windows.Xps.Packaging namespaces for manipulating the document.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文