Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Graphics and Drawing in the .NET Compact Framework

The .NET Compact Framework provides core drawing features and graphic capabilities. This section describes techniques for graphical effects, workarounds for unsupported functionality, and how to improve performance.

Programming Graphics in the .NET Compact Framework

Lists considerations for drawing and graphics in the .NET Compact Framework.

How to: Copy Images

Shows how to copy and save images.

How to: Create a Zoom Effect

Describes how to use two bitmaps to create a zoom effect.

How to: Display a Box Around Text

Shows how to draw a rectangle around a text string.

How to: Display a Gradient Fill

Shows how to display a gradient fill between two colors in a custom control and in the form's background.

How to: Draw Images Off-Screen

Shows how to construct an off-screen bitmap to improve performance when displaying images.

How to: Draw Images with Transparency

Shows how to use the limited transparency capabilities in the .NET Compact Framework.

How to: Rotate Text

Shows how to use the LogFont class in the Microsoft.WindowsCE.Forms namespace.

How to: Set a Background Image on a Form

Shows how to draw an image as the background for a form.

How to: Use LockBits

Describes how you can improve performance by using the LockBits method.

Mobile Direct3D Programming in the .NET Compact Framework

Introduces managed Direct3D programming for devices. Microsoft Windows Mobile version 5.0 software for Pocket PCs or Smartphones is required.

Community Additions

© 2015 Microsoft