This documentation is archived and is not being maintained.

Graphics.Clip Property

Gets or sets a Region object that limits the drawing region of this Graphics object.

[Visual Basic]
Public Property Clip As Region
[C#]
public Region Clip {get; set;}
[C++]
public: __property Region* get_Clip();
public: __property void set_Clip(Region*);
[JScript]
public function get Clip() : Region;
public function set Clip(Region);

Property Value

This property specifies a Region object that limits the portion of this Graphics object that is currently available for drawing.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Graphics Class | Graphics Members | System.Drawing Namespace

Show: