Dundas Chart for Windows Forms
GetRelativeSize Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > ChartGraphics Class : GetRelativeSize Method


size
A SizeF object that uses absolute coordinates.
Absolute size

Takes a SizeF object that uses absolute coordinates and returns a SizeF object that uses relative coordinates.


Converts Absolute size to Relative size

Syntax

Visual Basic (Declaration)  
Public Function GetRelativeSize( _
   ByVal size As SizeF _
) As SizeF
Visual Basic (Usage) Copy Code
Dim instance As ChartGraphics
Dim size As SizeF
Dim value As SizeF
 
value = instance.GetRelativeSize(size)
C#  
public SizeF GetRelativeSize( 
   SizeF size
)

Parameters

size
A SizeF object that uses absolute coordinates.
Absolute size

Return Value

A SizeFobject that uses relative coordinates.


Relative size

Remarks

Coordinates are relative to the entire chart image.

See the Chart Coordinate System topic for a detailed explanation concerning the Chart's coordinate system.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.