Click here to Skip to main content
15,912,977 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i am using wpf to open multi page tif file in FlowDocumentReader control.that control only show the first page on tif.i am not eable to go next page in tif.i am using Result2.tif file this file page count is 10 to show all the pages.


XAML code
HTML
<flowdocumentreader margin="-7,6,43,97" name="TestFlow">
          <flowdocument>
              <blockuicontainer>
                      <Image x:Name="DocImg" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
              </blockuicontainer>
          </flowdocument>
      </flowdocumentreader>


cs code

C#
string tiffPath = @"d:\Result2.tif";
           DocImg.Source = new BitmapImage(new Uri(tiffPath));



Please suggest one solution to overcome the problem
Posted
Updated 27-Dec-11 3:08am
v2
Comments
Andrew Piotrowski 28-Dec-11 19:20pm    
Need more info :) Is the TIF a real big file ( resolution above your monitor resolution screen ) ? Have you tried it on other smaller s ones ? Using BitmapImage is a common error with Images. I can help you - but still , i need more info.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900