WPF Printing: How to print a PageRange with WPF’s PrintDialog ...(thomasclaudiushuber.com)

submitted by linksaussenlinksaussen(90) 2 years, 6 months ago

WPFs PrintDialog has no logic for printing a page range of a FixedDocument (XPS). It allows the User to define a pagerange, but then all pages are printed and it's up to you to implement the logic to only print the pages defined in the PrintDialog. This blog-post describes an elegant way how to implement generic logic to support the printing of page ranges.

add a comment |category: |Views: 130

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story