CodeCarvings.Piczard
GetValue(GfxUnit,Single) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > AbsMeasure Class > GetValue Method : GetValue(GfxUnit,Single) Method

unit
The graphics unit in which the value must be converted.
resolution
The resolution expressed in DPI (Dots Per Inch).

Converts the Value of the AbsMeasure to the specified graphics unit.

Syntax

Visual Basic (Declaration)  
Public Overloads Function GetValue( _
   ByVal unit As GfxUnit, _
   ByVal resolution As Single _
) As Single
C#  
public float GetValue( 
   GfxUnit unit,
   float resolution
)

Parameters

unit
The graphics unit in which the value must be converted.
resolution
The resolution expressed in DPI (Dots Per Inch).

Return Value

The measurement converted to the chosen graphics unit.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.