PictureEffects Xojo Plugin |

# TrimEffect.GetTrimBounds Method

Gets the bounds of image as it would be if it was trimmed. This function does not actually trim the image.

GetTrimBounds(
source as Picture,
trimColor as Color,
edgePixelCount as Integer) as Rect

#### Parameters

source
  The source image.
trimColor
  The count of pixels from the actual image that should not be trimmed. (In the on this page above it was set to zero pixels)The trim color
edgePixelCount
  The count of pixels from the actual image that should not be trimmed. (In the example it was set to zero pixels)

#### Returns

Rect
  Bounds of the trimmed image.Bounds of the trimmed image.

#### Remarks

#### See Also

TrimEffect Class