ToString

Rectangle.ToString method

将此 Rectangle 的属性转换为可读的字符串。

public override string ToString()

返回值

一个字符串,包含此 Rectangle 结构的位置、宽度和高度。

另请参见