Redigera

Dela via


ChartGraphics.GetRelativeRectangle(RectangleF) Method

Definition

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

public:
 System::Drawing::RectangleF GetRelativeRectangle(System::Drawing::RectangleF rectangle);
public System.Drawing.RectangleF GetRelativeRectangle (System.Drawing.RectangleF rectangle);
member this.GetRelativeRectangle : System.Drawing.RectangleF -> System.Drawing.RectangleF
Public Function GetRelativeRectangle (rectangle As RectangleF) As RectangleF

Parameters

rectangle
RectangleF

A RectangleF structure in absolute coordinates.

Returns

A RectangleF structure in relative coordinates.

Applies to