データ変換

Namespace: FVIL.GDI
Assembly: FVILbasic (in FVILbasic.dll) Version: 3.1.0.0 (3.1.0.17)

Syntax

C#
public virtual RectangleF ToRectangleF()
Visual Basic
Public Overridable Function ToRectangleF As RectangleF

Return Value

Type: RectangleF

このクラスが持つ矩形情報を RectangleF 構造体に格納して返します。

値はキャストして代入します。

C# Copy imageCopy
System.Drawing.RectangleF        rect;
rect.X      = (System.Single)X;
rect.Y      = (System.Single)Y;
rect.Width  = (System.Single)Width;
rect.Height = (System.Single)Height;

See Also