Thread: Displaying xps document in win32 application.

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    1

    Thumbs up Displaying xps document in win32 application.

    Hi folks
    Can any one suggest me what are the options available to display xps in win32 application using any unmanaged library.
    Currently I am using NiXPS I am getting a byte array which i am converting into
    stream and trying to render the image using OleLoadPicture, but its failing to give me IPicture from IStream.
    Are there any other possible ways to display image using HDC in win32 application.

  2. #2
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    NiXPS can "Convert XPS to PDF, SVG and TIFF". Have a look around the SDK's API, maybe you can render a conversion to the screen instead of file.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C] Displaying HTML in an application.
    By pc2-brazil in forum Windows Programming
    Replies: 2
    Last Post: 12-17-2008, 01:45 AM
  2. Win32 Application
    By miiisuuu in forum Windows Programming
    Replies: 11
    Last Post: 10-27-2007, 08:49 PM
  3. Help displaying line numbers of a text document
    By Japatron in forum C Programming
    Replies: 4
    Last Post: 05-04-2006, 01:34 PM
  4. win32 application
    By GravtyKlz in forum Windows Programming
    Replies: 5
    Last Post: 02-28-2003, 02:53 AM
  5. Displaying BMP in DJGPP (Win32 Console)
    By CBGMan in forum C++ Programming
    Replies: 1
    Last Post: 11-03-2001, 01:59 PM