GraphicsUnit
Namespace: System.Drawing
Assembly: System.Drawing.Managed (4.0.0.0)
Specifies the unit of measure for the given data.
- C#
- VB.NET
public enum GraphicsUnit : Enum
Public Enum GraphicsUnit As [Enum]
Fields
| Name | Description |
|---|---|
| Display | Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers. |
| Document | Specifies the document unit (1/300 inch) as the unit of measure. |
| Inch | Specifies the inch as the unit of measure. |
| Millimeter | Specifies the millimeter as the unit of measure. |
| Pixel | Specifies a device pixel as the unit of measure. |
| Point | Specifies a printer's point (1/72 inch) as the unit of measure. |
| World | Specifies the world coordinate system unit as the unit of measure. |
Used By
| Name | Description |
|---|---|
| Font.Unit | Gets the unit of measure for this Font. |
| Graphics.PageUnit | Gets or sets the unit of measure used for page coordinates in this Graphics. |
| Graphics.BeginContainer | Saves a graphics container with the current state of this Graphics and opens and uses a new graphics container with the specified scale transformation. |
| Graphics.DrawImage | Draws a portion of an image at a specified location. |