多页 tiff 的简单 WPF 页面选择

发布于 2024-10-09 18:30:12 字数 196 浏览 0 评论 0原文

我正在制作一个基本的 Tiff 查看器,需要能够选择要查看的页面。在 Winforms 中,我可以使用 selectActiveFrame,所以我想知道是否有一个与此等效的 WPF。谢谢!

编辑:在winforms中,我在selectActiveFrame方法中使用了System.Drawing.Imaging.FrameDimension(如果有帮助的话)。

I am making a basic Tiff viewer and need to be able to select the page to be viewed. In Winforms I could use selectActiveFrame, so I was wondering if there is a WPF equivalent for this. Thanks!

EDIT: In winforms I used System.Drawing.Imaging.FrameDimension in the selectActiveFrame method if that helps at all.

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

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

发布评论

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

评论(1

雅心素梦 2024-10-16 18:30:12

您可以使用 TiffBitmapDecoder 类来加载图像,然后使用 Frames< /a> 属性来访问您喜欢的 tiff 框架。

You can use the TiffBitmapDecoder class to load the image and then use the Frames property to access which tiff frame you like.

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