Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IPictureEffects Interface / Insert Method
An enumeration specifying the type of picture effect.
The position of the effect in the composite chain of picture effects.


In This Topic
    Insert Method (IPictureEffects)
    In This Topic
    Inserts a picture effect in a chain of composite effects.
    Syntax
    'Declaration
     
    
    Function Insert( _
       ByVal effectType As PictureEffectType, _
       Optional ByVal position As Integer _
    ) As IPictureEffect
    'Usage
     
    
    Dim instance As IPictureEffects
    Dim effectType As PictureEffectType
    Dim position As Integer
    Dim value As IPictureEffect
     
    value = instance.Insert(effectType, position)

    Parameters

    effectType
    An enumeration specifying the type of picture effect.
    position
    The position of the effect in the composite chain of picture effects.

    Return Value

    The inserted IPictureEffect object.
    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 will allow an effect to be added to the chain, reordered, or removed from the chain.
    See Also