VansFannel
VansFannel

Reputation: 45921

Resize (Zoom in and Zoom out) in Compact Framework (C#)

How I can zoom in a bitmap on Compact Framework? I read this article and http://geeks.netindonesia.net/blogs/clawford/archive/2008/04/20/resizing-bitmap-tutorial-in-net-cf.aspx and it's only to make the bitmap smaller.

Thank you!

Upvotes: 0

Views: 2767

Answers (1)

ctacke
ctacke

Reputation: 67178

The Imaging APIs can be used for resizing. Typically they are used for getting a thumbnail (making the image smaller) but there's nothing that says it has to. It simply provides a "CreateBitmapFromImage" method, so you can always make the image larger.

For a reasonable managed wrapper of the APIs, see the Smart Device Framework.

Upvotes: 2

Related Questions