.NET Windows Forms in a Nutshell

GraphicsUnit serializable

System.Drawing (system.drawing.dll) enum

This enumeration determines the units used for a graphic measurement. The framework automatically provides translation between units to allow you to use the most convenient scheme for your particular application.

public enum GraphicsUnit { World = 0 , Display = 1 , Pixel = 2 , Point = 3 , Inch = 4 , Document = 5 , Millimeter = 6 }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) GraphicsUnit

Returned By

Font.Unit , Graphics.PageUnit

Passed To

Font.Font() , Graphics.{BeginContainer() , DrawImage() , EnumerateMetafile() , PageUnit} , Image.GetBounds()

Категории