Xceed Chart for WinForms v4.4 Documentation
InitFromGraphics Method


Xceed.Chart.Utilities.v4.4 Assembly > Xceed.Chart.Utilities Namespace > MeasureUnitConverter Class : InitFromGraphics Method
The graphics object which DpiX and DpiY values are to be used.
Initializes the horizontal and vertical scale matrixes depending on the horizontal and vertical resolution of a given graphics.
Syntax
'Declaration
 
Public Sub InitFromGraphics( _
   ByVal g As Graphics _
) 
'Usage
 
Dim instance As MeasureUnitConverter
Dim g As Graphics
 
instance.InitFromGraphics(g)
public void InitFromGraphics( 
   Graphics g
)

Parameters

g
The graphics object which DpiX and DpiY values are to be used.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MeasureUnitConverter Class
MeasureUnitConverter Members