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


relative
SizeF structure that uses relative coordinates.
Relative size in %

This method takes a SizeF object that uses relative coordinates and returns a SizeF object that uses absolute coordinates.


Converts Relative size to Absolute size

Syntax

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

Parameters

relative
SizeF structure that uses relative coordinates.
Relative size in %

Return Value

SizeF structure that uses absolute coordinates.


Absolute size

Remarks

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

Note that these absolute coordinates are always returned for the entire chart image.

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

For an example of this method see the Custom Drawing Using the Paint Events topic (custom drawing for a 2D chart). To see this method used for 3D charts see the "Custom Drawing" section in the Working with 3D Charts topic.

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.