--- title: "Using Graphics Containers" ms.date: "03/30/2017" helpviewer_keywords: - "graphics [Windows Forms], using containers" - "graphics containers" - "examples [Windows Forms], graphics containers" ms.assetid: 74632f91-cefa-4f51-ab7c-f9ac91942caf --- # Using Graphics Containers A object provides methods such as , , and for displaying vector images, raster images, and text. A object also has several properties that influence the quality and orientation of the items that are drawn. For example, the smoothing mode property determines whether antialiasing is applied to lines and curves, and the world transformation property influences the position and rotation of the items that are drawn. A object is associated with a particular display device. When you use a object to draw in a window, the object is also associated with that particular window. A object can be thought of as a container because it holds a set of properties that influence drawing and it is linked to device-specific information. You can create a secondary container within an existing object by calling the method of that object. ## In This Section [Managing the State of a Graphics Object](managing-the-state-of-a-graphics-object.md) Describes how manage the quality settings, clipping area and transformations of a object. [Using Nested Graphics Containers](using-nested-graphics-containers.md) Shows how to use containers to control the state of the object.