Skip to Content
Hidden WPF: Secrets for Creating Great Applications in Windows Presentation Foundation
book

Hidden WPF: Secrets for Creating Great Applications in Windows Presentation Foundation

by Alessandro Del Sole
February 2013
Beginner to intermediate
68 pages
1h 50m
English
Sams
Content preview from Hidden WPF: Secrets for Creating Great Applications in Windows Presentation Foundation

Generating XPS and PDF Documents with VSTO Assemblies

It’s not always easy to manage XPS documents, especially when creating them, even if the .NET Framework provides full support for them. In fact, this task mostly requires writing a lot of complex code, especially if you want to add pictures, thumbnails, digital signatures, and so on.

The situation is even more complex when talking about PDF documents, since .NET doesn’t provide any native support. A pretty good alternative is available for generating XPS and PDF documents starting from Microsoft Word documents (.docx and .doc). With limited effort, you can include some assemblies from the Visual Studio Tools for Office (VSTO), generating XPS and PDF documents with less than 30 lines of code. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4

Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4

Matthew MacDonald
WPF in Action with Visual Studio 2008

WPF in Action with Visual Studio 2008

Arlen Feldman, Maxx Daymon

Publisher Resources

ISBN: 9780133432473