SizeF.Explicit(SizeF to PointF) 運算子

定義

將指定的 SizeF 結構轉換成 PointF 結構。Converts the specified SizeF structure to a PointF structure.

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

參數

size
SizeF

要轉換的 SizeF 結構。The SizeF structure to be converted

傳回

這個運算子轉換成的 PointF 結構。The PointF structure to which this operator converts.

適用於