Simple WPF page selection for multipaged tiff

前提是你 提交于 2019-12-08 01:03:40

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/4546994/simple-wpf-page-selection-for-multipaged-tiff

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!