CreatePainter([MediumType])
Returns the LayoutPainter object that represents a tool for painting the layout. The MediumType specifies the type of graphics medium used for painting (see LayoutPainter::MediumType). If the argument is omitted, the type is set to gdbGraphMediumDIB.