PictureEffects Xojo Plugin |

# TrimEffect.Apply Method

Applies the effect on a given 32 bit source image with parameters that have been set on the class instance.

Apply(
source as Picture) as Picture

#### Parameters

source
  The source picture to work with.

#### Returns

Picture
  If the filter was successful: A reference to the modified picture.
  If the trimmed destination was of zero height or width then nil is returned.
  This filter will allocate memory so a Nil is also returned if not enough memory could be allocated for it or if the mask parameter contained invalid mask picture.

#### Remarks

#### See Also

TrimEffect Class