次の方法で共有


Rectangle から RectangleF への変換

指定の RectangleRectangleF に変換します。

returnValue = RectangleF.op_Implicit(r)
[C#]
public static implicit operator RectangleF(Rectangler);
[C++]
public: static RectangleF op_Implicit(Rectangler);
[JScript]
returnValue = r;

[Visual Basic] Visual Basic では、この型で定義されている型変換を使用することができます。ただし、独自に定義することはできません。

[JScript] JScript では、この型で定義されている型変換を使用することができます。ただし、独自に定義することはできません。

引数 [Visual Basic, JScript]

パラメータ [C#, C++]

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

RectangleF 構造体 | RectangleF メンバ | System.Drawing 名前空間