Region.IsInfinite

Region.IsInfinite method

Tests whether this Region has an infinite interior on the specified drawing surface.

public bool IsInfinite(Graphics g)
ParameterTypeDescription
gGraphicsA Graphics that represents a drawing surface.

Return Value

true if the interior of this Region is infinite when the transformation associated with g is applied; otherwise, false.

Exceptions

exceptioncondition
ArgumentNullExceptiong is null.

See Also