Samples

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

Full code examples not included in the Microsoft Windows Software Development Kit (SDK).

The full code for these examples is available on the DirectWrite Resource Page on MSDN Code Gallery.

Code ExampleDescription
Color Drawing Effect Example Demonstrates how to apply client drawing effects to a text layout by using a custom text renderer. In this case, a color drawing effect.
Hit Testing Example Demonstrates how to perform hit testing on a text layout object. Underlines the character that is clicked on.
Inline Object Example Demonstrates how to add an inline object (in this case, an image) to a text layout.
Multiple Monitor Example Demonstrates how to ensure your application is compatible with multiple monitors.

 

 

 

Send comments about this topic to Microsoft

Build date: 11/22/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.