Graphics.VisibleClipBounds 属性


获取此 Graphics 的可见剪辑区域的边框。Gets the bounding rectangle of the visible clipping region of this Graphics.

 property System::Drawing::RectangleF VisibleClipBounds { System::Drawing::RectangleF get(); };
public System.Drawing.RectangleF VisibleClipBounds { get; }
member this.VisibleClipBounds : System.Drawing.RectangleF
Public ReadOnly Property VisibleClipBounds As RectangleF



一个 RectangleF 结构,它表示此 Graphics 的可见剪辑区域的边框。A RectangleF structure that represents a bounding rectangle for the visible clipping region of this Graphics.


生成矩形的单位由 PageUnit 属性指定。The unit for resulting rectangle is designated by the PageUnit property. 默认单位是像素。The default unit is pixels. Graphics通常与控件相关联,矩形的原点将相对于该控件的工作区。A Graphics is typically associated with a control and the origin of the rectangle will be relative to the client area of that control.

可见剪辑区域是此的剪辑区域 Graphics 与窗口的剪辑区域的交集。The visible clipping region is the intersection of the clipping region of this Graphics and the clipping region of the window.