Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / PictureCommand Class / FilmGrain Method
The picture or group which contains a single picture to modify.
A value in range 0..100 that specifies the transparency of the effect.
An integer value in range 0..100 that specifies the grain threshold.


In This Topic
    FilmGrain Method
    In This Topic
    Creates a command that blur the picture.
    Syntax
    'Declaration
     
    
    Public Shared Function FilmGrain( _
       ByVal shape As IShape, _
       ByVal transparency As Double, _
       ByVal grainSize As Integer _
    ) As PictureCommand
    'Usage
     
    
    Dim shape As IShape
    Dim transparency As Double
    Dim grainSize As Integer
    Dim value As PictureCommand
     
    value = PictureCommand.FilmGrain(shape, transparency, grainSize)
    public static PictureCommand FilmGrain( 
       IShape shape,
       double transparency,
       int grainSize
    )

    Parameters

    shape
    The picture or group which contains a single picture to modify.
    transparency
    A value in range 0..100 that specifies the transparency of the effect.
    grainSize
    An integer value in range 0..100 that specifies the grain threshold.
    See Also