Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GrayscaleBitmap Class / ApplyGlow Method
The radius of inflation (positive, glow) or deflation (negative, soft edges), in pixels.
The radius of Gaussian blur, in pixels.

In This Topic
    ApplyGlow Method
    In This Topic
    When applied to a grayscale mask built from a color image using the ToGrayscaleBitmap method, modifies it so that the result can be used as a transparency mask to produce Glow or Soft Edges effect.
    Syntax
    'Declaration
     
    Public Sub ApplyGlow( _
       Optional ByVal infRadius As System.Integer, _
       Optional ByVal blurRadius As System.Integer _
    ) 
    public void ApplyGlow( 
       System.int infRadius,
       System.int blurRadius
    )

    Parameters

    infRadius
    The radius of inflation (positive, glow) or deflation (negative, soft edges), in pixels.
    blurRadius
    The radius of Gaussian blur, in pixels.
    See Also