fixedpage

WPF DocumentViewer Find-function and FixedPage documents

Hi there, .Net contains a nice control called DocumentViewer. it also offers a subcontrol for finding text in the loaded document (that's at least what it is supposed to do). When inserting FixedPage's objects as document source for the DocumentViewer, the find-functionality just does not find anything. Not even single letters. I haven...

Why am I losing my databinding when printing to an XpsDocument?

Update! Binding works. The issue is that the XpsDocumentWriter doesn't properly write the first page of the first document of a FixedDocumentSequence. This seems to be an issue encountered by lots of people doing this sort of thing (i.e., five developers worldwide). The solution is slightly odd. I include it as an answer. Okay, i...

Using FixedPage markup on a Content Model control

Hello! In WPF, I have tried passing the markup of an XPS file's FixedPage to a control that has the Content property (ex. Button.Content = XamlReader.Load()). Example of FixedPage markup: <FixedPage Width="816" Height="1056" xmlns="http://schemas.microsoft.com/xps/2005/06" xml:lang="und"> <Path Data="M 115.52,132.48 L 704.64,132....

Render FixedPage contents onto bitmap

I have the following code, taken from http://www.codeplex.com/XPS2Image/ ,which in turn was taken from some people discussing at at Microsoft development forums. int[] pages = new int[] { 0, 1, 2, 3, 4 }; XpsDocument xpsDoc = new XpsDocument(@"c:\tmp\sample.xps", System.IO.FileAccess.Read); FixedDocumentSequence docS...

ChildControl Height Calculation in Fixed Page Report - WPF

Hi Any idea how to calculate the height of auto generated child controls in fixed-page... When using ActualHeight it give 0.0.... I need to to calculate height of the dynamic content in the fixed page. Thanks and Regards ...

Getting rich text from FixedPage of a FixedDocument

I would like to extract text from FixedPage object but have yet to come up with a solution. Any ideas will be appreciated? Thanks ...