PictureEffects Xojo Plugin |

# FlipEffect.ApplyBoth Method

Flips a picture in both directions.

ApplyBoth(
source as Picture) as Picture

#### Parameters

source
  The source picture to work with (must be 32 bits).

#### Returns

Picture
  If the filter was successful: A reference to the modified picture else nil.

#### Remarks

Using Apply both is 2x faster then calling first ApplyHorizontal and then ApplyVertical.

Dim effect as FlipEffect
effect = new FlipEffect()
pic = EnsurePictureBits(Picture1,32)
pic2 = effect.ApplyBoth(pic)

#### See Also

FlipEffect Class