Results 1 to 2 of 2

Thread: writing and XPS document

  1. #1

    Thread Starter
    Hyperactive Member r0k3t's Avatar
    Join Date
    Dec 2005
    Location
    Cleveland
    Posts
    361

    writing and XPS document

    Hi there,

    I am using windows XP and I am trying to create an XPS document. I need to use WriteObfuscatedStream and WriteToStream methods however I can't seem to figure out what they are part of... I added the following references and accompanying using statements but still I don't have access to the two methods that I need. I was looking around on MSDN and also looked at this resource. http://blogs.ocrasoft.nl/jeroenveurink/?p=21 (I have added all the references the author talks about) but I can't see what I am missing.

    Anyone have any experience with this? This is on the 70-502 and the sorry excuse for the book that MS puts out to as a study guide doesn't cover it at all so I am trying to do research elsewhere.

    Code:
      using System.Windows.Xps;
      using System.Windows.Xps.Packaging;
    Thanks!
    Anti DUPLO machine!!!

  2. #2
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: writing and XPS document

    XPS is essentially a .zip file containing Xaml, Resources and other funky bits an pieces. I would be surprised if creating one by hand was on the exam but here is a better example to work of that deals with converting WPF Xaml to xps. This is generally how you would go about making one in a real world scenario so if you understand and play with this code you should be set!

    http://fohjin.blogspot.com/2008/07/s...nt-to-xps.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width