This is post number 10 in a series that describes new and updated samples in the Windows 7 SDK. The following table lists samples that illustrate Windows XML Paper Specification (XPS), which provides users with a consistent document appearance regardless of where and how the document is viewed. These samples are new to Windows 7 or updated to support Windows 7.
Over 1,200 samples were changed since the release of the Windows SDK for Windows 7 RC release. Many “new to Win 7” samples were added, simplified, or extended, and many older samples were updated to support Windows 7 as well as older operating systems.
For build instructions and additional information about the samples, see the Readme.txt files and other documents in the SDK sample folders. For general sample building instructions, refer to the Samples Reference page that installs with the Windows SDK, and the SDK Release Notes (under the Start menu, in All Programs > Microsoft Windows SDK v7.0). By default, Win32 samples are installed under the following path: C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples.
Send your thoughts to the Windows SDK Feedback alias. Tell us how you use the SDK and what we can do to improve your development experience.
New/updated Windows XML Paper Specification (XPS) samples in the Windows SDK for Windows 7
demonstrates usage of XPS APIs along with DWrite
Demonstrates how to use DWrite to place text on a page and create an xps document that includes that page.
Demonstrates how to load, modify and save xps file using new unmanaged XPS APIs
Demonstrates how to load an xps file from a stream, add text to a page and then resave the file as xps package.
Direct printing of XPS object model
The XpsOMPrint sample is a simple utility which demonstrates use of the XPS Object Model with the XPS Print API to programmatically create and print an XPS document.
XPS Document Rollup sample
Demonstrates use of the XPS Object Model to combine XPS Documents.
Program Manager for Samples
Windows SDK Team