Device.ScissorRectangle Property (Microsoft.DirectX.Direct3D)
Retrieves or sets the scissor rectangle.
Definition
Visual Basic Public Property ScissorRectangle As Rectangle C# public Rectangle ScissorRectangle { get; set; } C++ public:
property Rectangle ScissorRectangle {
Rectangle get();
void set(Rectangle value);
}JScript public function get ScissorRectangle() : Rectangle
public function set ScissorRectangle(Rectangle);
Property Value
System.Drawing.Rectangle
A Rectangle object that defines the rendering area within the render target, if scissor testing is enabled.This property is read/write.
Remarks
The scissor rectangle is used as a rectangular clipping region. For more information about the use of rectangles in Microsoft DirectX, see Rectangle.
Exceptions
Occurs if any properties of the Rectangle object are invalid.