Simple WPF page selection for multipaged tiff

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.

Answers


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


Need Your Help

Preventing HTML5 applicationCache checking event on offline application load

html5 application-cache offline-web-app

I have an HTML5/jquery mobile web app at http://app.bluedot.mobi. It is used for long distance races to track competitors via SPOT satellite tracking. The issue I have not yet resolved is that when

R Equality while ignoring NAs

r

Is there an equivalent of == but with the result that x != NA if x is not NA?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.