Graphics.VisibleClipBounds 属性
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取此 Graphics 的可见剪辑区域的边框。
public:
property System::Drawing::RectangleF VisibleClipBounds { System::Drawing::RectangleF get(); };
C#
public System.Drawing.RectangleF VisibleClipBounds { get; }
member this.VisibleClipBounds : System.Drawing.RectangleF
Public ReadOnly Property VisibleClipBounds As RectangleF
一个 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 |