ピクセルを設定 The SetPixel() method in the AnyBitmap class is used to apply colors to specific pixels on an image. This is useful for drawing or simply creating a line on an image using a specified color. The SetPixel() method is found under the AnyBitmap class in IronSoftware.Drawing. It accepts three parameters: the x coordinate, the y coordinate, and an IronSoftware.Drawing.Color object. The method can be called on an AnyBitmap object to apply the color to the AnyBitmap image. In the provided code snippet, a sample image was loaded using the AnyBitmap.FromFile() method, which returns an AnyBitmap object. A for loop was used to create a colored horizontal line by changing the x coordinate. The bitmap with the applied pixels is then saved to the machine with a different name. 関連ドキュメントリンク Githubで見る 関連チュートリアル 関連ハウツーガイド クラスドキュメンテーション IronDrawing DLLをダウンロード Report an Issue on this page 準備はいいですか? Nuget ダウンロード 13,318,306 | バージョン: 2025.3 ただ今リリースされました 試用ライセンスキーがメールで送信されました。 総ダウンロード数: 13,318,306 ライセンスを見る