Building a Print Preview for TX Text Control .NET for WPF

ckrause

Well-known member
Joined
Oct 9, 2009
Messages
87
Programming Experience
5-10
A print preview control, that can be compared to the Windows Forms print preview control, is not part of the standard WPF control set.

In order to preview what is actually printed, a WPF DocumentViewer can be used. Generally, this document viewer renders WPF FixedDocuments. Due to TX Text Control's special WYSIWYG rendering, TextControl can't be connected to this viewer directly.

tx_wpf_printpreview.png


Anyway, it is quite easy to utilize this out-of-the-box viewer effectively as a print preview control using TX Text Control's Page Rendering Engine. Each page is rendered on a FixedPage of the FixedDocument and displayed in the standard viewer.

Download the sample project in our Source Code Library.


About TX Text Control:

TX Text Control was originally released in 1991, since then more than 40,000 copies have been sold. Starting off as a single, small DLL, TX Text Control has made its way through 16-bit DLL and VBX versions to today‘s Enterprise edition with its .NET and ActiveX components. The recent addition to the family, TX Text Control .NET Server, offers all of TX Text Control advanced word processing functionality in an easy-to-use server-side .NET component. Customers benefit from these years of experience, large user base, and at the same time, appreciate developing with a mature, reliable product.

Contact Informations:

support@textcontrol.com

North & South America:
Phone: +1 704-370-0110
Phone: +1 877-462-4772 (toll free)

Europe:
Phone: +49 (0)421 42 70 67 10

Asia Pacific:
Phone: +886 2-2797-8508
 
Nuance supports TX Text Control 16.0 in future versions

For many years, our partner, Nuance has supported TX Text Control in many products of the Dragon Speech Recognition family from end-user products or SDKs to specific medical solutions like SpeechMagic.

The current versions support TX Text Control 15.1 and it is planned to support TX Text Control .NET and ActiveX 16.0 in upcoming versions. It is always a pleasure to work with the Nuance team to guarantee a stable product package.

Learn more about Nuance and their products on their website:
Nuance - Dragon - Dragon NaturallySpeaking


About TX Text Control:

TX Text Control was originally released in 1991, since then more than 40,000 copies have been sold. Starting off as a single, small DLL, TX Text Control has made its way through 16-bit DLL and VBX versions to today‘s Enterprise edition with its .NET and ActiveX components. The recent addition to the family, TX Text Control .NET Server, offers all of TX Text Control advanced word processing functionality in an easy-to-use server-side .NET component. Customers benefit from these years of experience, large user base, and at the same time, appreciate developing with a mature, reliable product.

Contact Informations:

support@textcontrol.com

North & South America:
Phone: +1 704-370-0110
Phone: +1 877-462-4772 (toll free)

Europe:
Phone: +49 (0)421 42 70 67 10

Asia Pacific:
Phone: +886 2-2797-8508
 
Documents don't have to look ugly! Make them beautiful.

The December issue of the WIRED magazine had a great article from Steven Leckart questioning the complex and obfuscated lab reports patients are getting from their physicians. He is asking why such reports are not understandable and asked designers to give them a complete makeover.

lab_report.png


The results are amazing and what's best - it is readable without having an "MD" after your name.

But an important fact is missing in this article: Why do these reports look so ugly?

The answer is quite simple. The laboratories focus on analyzing our blood instead of writing good software. Focusing on correct blood results should be their priority as it saves life, however providing patients easy to read results is also important. Obviously, the remakes of the lab reports presented in the magazine are created in designer applications like Adobe InDesign or QuarkXPress. But just like MS Word, it is not an effortless process to automate such applications.

Text Control re-created one of those reports with TX Text Control and basic document elements like tables or symbol fonts. No images or other "expensive" elements are used to keep such documents small and flexible (exported as DOCX, the document has a size of 9.43 KB and the PDF only 58.6 KB). This document can be easily used as a template and can be automated using TX Text Control in a very easy way.

Lab reports are just one example. Invoices, quotes, and delivery notes are other examples that can benefit from a facelift. Make them beautiful. TX Text Control helps you with this approach.

Download the PDF document and see yourself



About TX Text Control:

TX Text Control was originally released in 1991, since then more than 40,000 copies have been sold. Starting off as a single, small DLL, TX Text Control has made its way through 16-bit DLL and VBX versions to today‘s Enterprise edition with its .NET and ActiveX components. The recent addition to the family, TX Text Control .NET Server, offers all of TX Text Control advanced word processing functionality in an easy-to-use server-side .NET component. Customers benefit from these years of experience, large user base, and at the same time, appreciate developing with a mature, reliable product.

Contact Informations:


support@textcontrol.com

North & South America:
Phone: +1 704-370-0110
Phone: +1 877-462-4772 (toll free)

Europe:
Phone: +49 (0)421 42 70 67 10

Asia Pacific:
Phone: +886 2-2797-8508
 
Back
Top