測定単位を変換 IronDrawing provides an option for users who want to change the measurement unit used in Rectangle or RectangleF from pixels (px) to millimeters (mm) or vice versa. The default measurement unit used in Rectangle and RectangleF is pixels (px). After a new Rectangle with measurements specified has been instantiated, you can call the conversion method on the Rectangle. For example, use .ConvertTo(MeasurementUnits.Millimeters, 20). This will convert the measurements of the Rectangle to millimeters based on the DPI set by the user. This same approach can also be applied to the RectangleF class. 関連ドキュメントリンク Githubで見る 関連チュートリアル 関連ハウツーガイド クラスドキュメンテーション IronDrawing DLLをダウンロード Report an Issue on this page 準備はいいですか? Nuget ダウンロード 13,318,306 | バージョン: 2025.3 ただ今リリースされました 試用ライセンスキーがメールで送信されました。 総ダウンロード数: 13,318,306 ライセンスを見る