Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Samples
Technology Samples
 Rotated Text Using LogFont Sample

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Samples 
Rotated Text Using LogFont Sample 

Download sample

Shows how to draw rotated text by creating a font from a LogFont structure. Also demonstrates how to make an application that is high DPI aware and can respond to screen orientation changes.

For information about using the samples, see the following topics:

To build and deploy the sample using Visual Studio

  1. Open Windows Explorer and navigate to one of the language-specific subdirectories for this sample.

  2. Double-click the solutions file (.sln) for this sample.

  3. Press F5 to compile and run the sample.

  4. Deploy to the device or emulator.

Requirements

This sample requires compilation with the hidpi.res file, which is done by default in Visual Studio.

The .NET Compact Framework is required to build or run the sample. See How to: Install the .NET Compact Framework for installation instructions.

Demonstrates

LogFont, rotated text, screen orientation changes, AutoScaleMode.

See Also

Reference

LogFont

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker