问题
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