PictureEffects.Insert Method
Inserts a picture effect in a chain of composite effects.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Function Insert ( _
EffectType As MsoPictureEffectType, _
Position As Integer _
) As PictureEffect
'Usage
Dim instance As PictureEffects
Dim EffectType As MsoPictureEffectType
Dim Position As Integer
Dim returnValue As PictureEffect
returnValue = instance.Insert(EffectType, _
Position)
PictureEffect Insert(
MsoPictureEffectType EffectType,
int Position
)
Parameters
EffectType
Type: Microsoft.Office.Core.MsoPictureEffectTypeAn MsoPictureEffectType enumeration specifying the type of picture effect.
Position
Type: System.Int32Specifies the position of the effect in the composite chain of picture effects.
Return Value
Type: Microsoft.Office.Core.PictureEffect
Returns a PictureEffect.
Remarks
Picture effects are processed as a chain composed of individual items that are applied in sequence to create the final composited image. An effects chain enables an effect to be added to the chain, reordered, or removed from the chain.