ChartDirector 6.2 (.NET Edition)

DrawArea.setClipRect


Usage

[C#] public void setClipRect(int left, int top, int right, int bottom);
[VB] Public Sub setClipRect(left As Integer, top As Integer, right As Integer, bottom As Integer)

Description

Sets the clip rectangle.

When performing graphics operation, only regions inside the clip rectangle will be affected. Regions outside will be unaffected.

Arguments

ArgumentDefaultDescription
left(Mandatory)The x coordinate of the left side of the clip rectangle.
top(Mandatory)The y coordinate of the top side of the clip rectangle.
right(Mandatory)The x coordinate of the right side of the clip rectangle.
bottom(Mandatory)The y coordinate of the bottom side of the clip rectangle.

Return Value

None