ChartGraphics.GetRelativeSize Method (SizeF)

.NET Framework (current version)
 

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

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public SizeF GetRelativeSize(
	SizeF size
)

Parameters

size
Type: System.Drawing.SizeF

A SizeF object in absolute coordinates.

Return Value

Type: System.Drawing.SizeF

A SizeF object in relative coordinates.

.NET Framework
Available since 4.0
Return to top
Show: