I need to view multi-page tiff with WPF.
I currently have the following:
<FlowDocumentReader> <FlowDocument> <BlockUIContainer> <Image x:Name="DocImg" Source="test1752158790.tif" /> </BlockUIContainer> </FlowDocument> </FlowDocumentReader>
I can only view the first page.
Is there any way to do this?
Thank! Todd
I would execute my own control code in reverse order. You will need some user input to indicate when the user goes from one page to another, whether with a mouse click or something else.
tiff. , ChrisF, libtiff, ,.NET- FreeImage, tiff .NET.
, TiffBitmapDecoder.
- :
// Decode TIFF image ImageStream = new FileStream(EnvelopeItem.LocalImagePath, FileMode.Open, FileAccess.Read, FileShare.Read); ImageDecoder = new TiffBitmapDecoder(ImageStream, BitmapCreateOptions.PreservePixelFormat, BitmapCacheOption.Default); PageImage.Source = ImageDecoder.Frames.FirstOrDefault();
, .
Source: https://habr.com/ru/post/1743835/More articles:правила именования resharper для пространств имен xaml - namespacesiPhone: static method versus sharedManager in Objective-C - objective-ca question of using the increase timer - c ++AES encrypted key is too large for decryption using RSA (Java) - javaA regex that finds and replaces non-ascii characters with Python - pythonWhich iPod touch generation should I buy? 2nd or 3rd? - objective-cSimple WPF page selection for multi-page tiff - wpfWhat should I use as a development platform, iPod or iPad? - ipadiphone development-leopard or snow leopard? - iphonehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1743840/how-can-i-convert-connection-data-lines-to-block-of-schemes-using-perl&usg=ALkJrhg9MmsKkrF-_btIA9fQy1yNpxVuDQAll Articles