Dundas Chart for ASP.NET
GetRelativeRectangle Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > ChartGraphics Class : GetRelativeRectangle Method


absolute
A RectangleF structure that is using relative coordinates.
Absolute coordinates

Takes a RectangleF structure that is using absolute coordinates and returns a RectangleF object that uses relative coordinates.


Converts Absolute Coordinates of Rectangle to Relative coordinates

Syntax

Visual Basic (Declaration)  
Public Function GetRelativeRectangle( _
   ByVal absolute As RectangleF _
) As RectangleF
Visual Basic (Usage) Copy Code
Dim instance As ChartGraphics
Dim absolute As RectangleF
Dim value As RectangleF
 
value = instance.GetRelativeRectangle(absolute)
C#  
public RectangleF GetRelativeRectangle( 
   RectangleF absolute
)

Parameters

absolute
A RectangleF structure that is using relative coordinates.
Absolute coordinates

Return Value

A RectangleF object that uses absolute coordinates.


Relative coordinates in %

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.