Questions tagged [fixedpage]
13 questions
8
votes
3 answers
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…
user1228
7
votes
2 answers
WPF DocumentViewer Find-function and FixedPage documents
.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…

Joachim Kerschbaumer
- 9,695
- 7
- 49
- 84
4
votes
0 answers
Render FixedPage contents onto Bitmap
I have the following code taken from http://www.codeplex.com/XPS2Image/, which in turn was taken from a discussion on the Microsoft Developer's Network forums.
int[] pages = new int[] { 0, 1, 2, 3, 4 };
XpsDocument xpsDoc = new…

moogs
- 8,122
- 8
- 44
- 60
4
votes
1 answer
FixedPage Class and IEnumerable
I have a FixedPage class as follows
PageContent pageContent = new PageContent();
FixedPage fixedPage = new FixedPage();
double pageWidth = 96 * 8.5;
double pageHeight = 96 * 11;
fixedPage.Width = pageWidth;
…

Sudha
- 2,078
- 6
- 28
- 53
3
votes
1 answer
WPF Tables within FixedDocument
I was wondering if it is possible adding a WPF-Table within a FixedDocument/FixedPage. It seems, as if it is not supported by default.
Is there some kind of workaround to achieve this?

Oliver Vogel
- 1,988
- 1
- 20
- 33
2
votes
1 answer
TallComponents PDF Rasterizer.NET convertToWPF memory error
I am trying to rasterize pdf's using TallComponents PDF Rasterizer
It works fine going to tiff.. Although I wanted to ConvertToWpf..
I asked this question to them directly although no response..
so, I followed their example code..
…

Chris Fazzio
- 375
- 1
- 6
- 16
1
vote
2 answers
Adding Image to FixedPage in WPF
I want to be able to print images with other UIElements. I have a FixedPage instance and trying to add image like so
// Basic printing stuff
var printDialog = new PrintDialog();
var fixedDocument = new…

Semuserable
- 454
- 6
- 24
0
votes
0 answers
WPF FixedPage not printing data in listview
I have user control with a fixed page element, everything works fine from the UI but when I print it the data in the listview is not printed on the receipt I tried several things but no matter what it just doesn't show up.
Here is the XAML
…

Kenn
- 2,709
- 2
- 29
- 60
0
votes
1 answer
Detect if content on FixedPage exceeds bottom boundary
I'm creating a document I'd like to print later. This document shall contain a grid that lists items like a table, including a header row. The number of items varies and therefore it is possible that the grid exceeds the bottom boundary of a single…

Kaufi-Jonas
- 1
- 2
0
votes
1 answer
How to I use FixedPage markup on a Content Model control?
In WPF, I have tried passing the mark-up of an XPS file's FixedPage to a control that has the Content property (ex. Button.Content = XamlReader.Load()).
Example of FixedPage markup:
bjutus
0
votes
1 answer
WPF FixedPage with same instance of UserControl
First off, I'm not sure if I phrased the title correctly. There are UserControls which are added via a ViewModel and I find them by searching the VisualTree and add them to a ObservableCollection. What I would like to do is Print each instance…

bruh1234
- 67
- 10
0
votes
0 answers
Is it possible to add FixedPage to a WPF Window?
Is it possible to have a already created FixedPage from a FixedDocument and add it to a WPF Window like you would add a UserControl?
The purpose is basically add page to a Grid and wrap borders, headers, and/or footers to the page to create a new…

Tommy
- 71
- 4
0
votes
1 answer
Fixeddocument dynamic page insertion
I am trying to insert dynamic pages inside my fixeddocument in a loop
FixedPage page1 = new FixedPage();
but after first page it give error content is already a child of another control. Can you guide me how to add pages to your fixeddocument. How…

Hasan Zubairi
- 1,037
- 4
- 23
- 57