Skip to main content

GraphicsDpi Methods

Enables you to calculate the DPI values associated with specific units of measure (and vice versa).
Name Description
DpiToUnit(Single) static Converts the specified DPI value to a corresponding unit of measure.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetGraphicsDpi(Graphics) static Gets the DPI value corresponding to the unit of measure of the specified Graphics object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
UnitToDpi(GraphicsUnit) static Converts the specified unit of measure to a corresponding DPI value.
UnitToDpiI(GraphicsUnit) static Converts the specified unit of measure to a corresponding DPI value.
UnitToString(GraphicsUnit) static Returns a string value, identifying the specified unit of measure.
See Also