C# System Drawing Point. The Pen class is used to draw lines and curves while classes derived from the abstract class Brush are used to fill the interiors of shapes. SystemDrawingPrimitivesdll Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.
Point Point2 PointSystemDrawingSize 100 100. SystemDrawingPoint originWF new SystemDrawingPoint ConvertToInt32 originWpfX ConvertToInt32 originWpfY. PointX frame - pointY.
All you have to do is to apply the relevant methods appropriately.
SystemDrawingPoint originWF new SystemDrawingPoint ConvertToInt32 originWpfX ConvertToInt32 originWpfY. PointX frame - pointY. The method DrawString takes four arguments as shown in the above example. Typically you specify the Pen class color and width in pixels with the constructor.