Bitmap は、画像を時計回りに90度、180度、270度の異なる角度に回転させる柔軟性を提供します。C1Bitmap によって提供される FlipRotator クラスの TransformOptions プロパティを使用して画像を回転することができます。TransformOptions プロパティは、変換オプションを設定するために TransformOptions 列挙値を受け入れます。
以下の画像は、時計回りに180度回転した画像を示しています。
以下のコードは、ボタンのクリックイベントにて画像を時計回りに180度回転する処理を実装します。この例では、「クイックスタート」セクションで作成したサンプルを使用します。