Graphics.VisibleClipBounds 属性

定义

获取此 Graphics 的可见剪辑区域的边框。

C#
public System.Drawing.RectangleF VisibleClipBounds { get; }

属性值

一个 RectangleF 结构,它表示此 Graphics 的可见剪辑区域的边框。

注解

生成的矩形的单位由 PageUnit 属性指定。 默认单位为像素。 Graphics通常与 控件相关联,矩形的原点将相对于该控件的工作区。

可见剪辑区域是此 Graphics 剪辑区域与窗口剪辑区域的交集。

适用于

产品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9