ChartGraphics.GetRelativeRectangle Method (RectangleF)

.NET Framework (current version)
 

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

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

member GetRelativeRectangle : 
        rectangle:RectangleF -> RectangleF

Parameters

rectangle
Type: System.Drawing.RectangleF

A RectangleF structure in absolute coordinates.

Return Value

Type: System.Drawing.RectangleF

A RectangleF structure in relative coordinates.

.NET Framework
Available since 4.0
Return to top
Show: