The LayoutPainter object represents a tool for painting a layout on a specified graphics medium. The graphics medium can be either device-independent image (DIB) or Window metafile (EMF). The object is created by the Layout::CreatePainter method.