The WriteableBitmap.
The angle in degress the bitmap should be rotated in 90° steps clockwise.
Rotate Method (WriteableBitmapExtensions)
Rotates the bitmap in 90° steps clockwise and returns a new rotated WriteableBitmap.
Syntax
[Extension()]
public static WriteableBitmap Rotate( 
   WriteableBitmap bmp,
   int angle
)

Parameters

bmp
The WriteableBitmap.
angle
The angle in degress the bitmap should be rotated in 90° steps clockwise.

Return Value

A new WriteableBitmap that is a rotated version of the input.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also