Point Implicit Conversion (Point to PointF)

 

Converts the specified Point structure to a PointF structure.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

F# does not support this operator

Parameters

p
Type: System.Drawing.Point

The Point to be converted.

Return Value

Type: System.Drawing.PointF

The PointF that results from the conversion.

The following code example adds a shadow to a ListBox using overloaded operators.

This example is designed to be used with a Windows Form. To run this example, paste this code into a form and call the AddShadow method when handling the form's Paint event. Be sure that the form contains a ListBox named listBox1.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: