SetBlurEffect

IEffectFormat.SetBlurEffect method

Sets the blur effect. The radius must be finite and non-negative. The maximum radius is approximately 169,093.2 points (2,147,483,647 EMUs).

public void SetBlurEffect(double radius, bool grow)
ParameterTypeDescription
radiusDoubleThe blur radius, in points.
growBooleantrue to allow the blur to extend beyond the object’s original bounds, or false to keep it within those bounds.

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionradius is negative, NaN, or infinite, or its value exceeds MaxValue after conversion to EMUs.

See Also