Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Selected Pages?
Message
De
22/04/2010 14:12:32
 
 
À
22/04/2010 13:39:22
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
VistaDB
Application:
Desktop
Divers
Thread ID:
01461534
Message ID:
01461545
Vues:
54
>I´m in the way of printing an Xps document. When I select some pages in the PrintDialog it prints all the document, not the selected pages:
>
>                    XpsDocument document = new XpsDocument(tempFile, FileAccess.ReadWrite);
>                    FixedDocumentSequence sequence = document.GetFixedDocumentSequence();                  
>                    dialog.PrintDocument(sequence.DocumentPaginator, info);
>
>
>Any Idea?
>
>Thanks in advance.

Will this help:http://www.thomasclaudiushuber.com/blog/2009/11/24/wpf-printing-how-to-print-a-pagerange-with-wpfs-printdialog-that-means-the-user-can-select-specific-pages-and-only-these-pages-are-printed/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform