Graphics.FromHwnd() method create a Graphics object from a window handle.
member function of Point to Convert a PointF to Point:
- Ceiling( PointF ) convert a PointF Object to a Point Object by rounding off the value of PointF to a next higher integer values.
- Round( PointF) rounding the float values to the nearest integer values.
- Truncate( PointF ) truncating the float value to integers.