Size.Explicit(Size to Point) 运算符

定义

将指定的 Size 结构转换为 Point 结构。Converts the specified Size structure to a Point structure.

public:
 static explicit operator System::Drawing::Point(System::Drawing::Size size);
public static explicit operator System.Drawing.Point (System.Drawing.Size size);
static member op_Explicit : System.Drawing.Size -> System.Drawing.Point
Public Shared Narrowing Operator CType (size As Size) As Point

参数

size
Size

要转换的 Size 结构。The Size structure to convert.

返回

Point

此运算符将转换为的 Point 结构。The Point structure to which this operator converts.

适用于