Share via


Rect.ToString Method

Definition

Returns a string representation of the rectangle.

public:
 override System::String ^ ToString();
public override string ToString();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string in the format "X=x Y=y Width=width Height=height" with invariant culture formatting.

Applies to