多页Tiff的简单WPF页面选择 [英] Simple WPF page selection for multipaged tiff

查看:99
本文介绍了多页Tiff的简单WPF页面选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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!

在winforms中,如果有帮助,我可以在selectActiveFrame方法中使用System.Drawing.Imaging.FrameDimension.

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

推荐答案

您可以使用

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

这篇关于多页Tiff的简单WPF页面选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆