Click here to Skip to main content
15,885,194 members
Articles / Programming Languages / C#

Show thumbnails of XPS documents

Rate me:
Please Sign up or sign in to vote.
5.00/5 (8 votes)
26 Jan 2010CPOL1 min read 42.8K   1.9K   40  
How to show thumbnails of XPS documents.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace XPS2Image
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new XPSThumbnail());
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
My name is Pravesh Soni and I’m software professional. I got involved with computers since last two decades starting with playing games developed in BASIC. I am a tech enthusiast and I love writing code, blogging, science fiction, cartoons, music, robotics and I am a big Microsoft fan too.

I started programming in classic asp but later switch to .net and now at present I have almost 15 years of development experience in Microsoft technologies. I got involved in customized software development in my career of programming, now contributing to some open source community development.

Comments and Discussions