GraphicsUnit

System.Drawing.GraphicsUnit

Namespace: System.Drawing

Assembly: System.Drawing.Managed (4.0.0.0)

Specifies the unit of measure for the given data.

public enum GraphicsUnit : 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

Gets the unit of measure for this Font.

Gets or sets the unit of measure used for page coordinates in this Graphics.

Saves a graphics container with the current state of this Graphics and opens and uses a new graphics container with the specified scale transformation.

Draws a portion of an image at a specified location.

Last updated

Was this helpful?