ImageGear .NET v25.1 - Updated
NightVision(ImGearRasterPage,ImGearNightVisionPresets,Int32,Double) Method




ImageGear.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : NightVision(ImGearRasterPage,ImGearNightVisionPresets,Int32,Double) Method
ImGearPage object to apply effect to.
One of the night vision preset schemes (Camera, Binocular, Sniper, SpyPhoto, Television, Martian, Moonlight).
Width of the border.
Amount of noise to add.
This method applies 'night vision' effect to the image.
Syntax
'Declaration
 
Public Shared Sub NightVision( _
   ByVal page As ImGearRasterPage, _
   ByVal preset As ImGearNightVisionPresets, _
   ByVal borderWidth As Integer, _
   ByVal noise As Double _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim preset As ImGearNightVisionPresets
Dim borderWidth As Integer
Dim noise As Double
 
ImGearEffects.NightVision(page, preset, borderWidth, noise)
public static void NightVision( 
   ImGearRasterPage page,
   ImGearNightVisionPresets preset,
   int borderWidth,
   double noise
)
public: static void NightVision( 
   ImGearRasterPage* page,
   ImGearNightVisionPresets preset,
   int borderWidth,
   double noise
) 
public:
static void NightVision( 
   ImGearRasterPage^ page,
   ImGearNightVisionPresets preset,
   int borderWidth,
   double noise
) 

Parameters

page
ImGearPage object to apply effect to.
preset
One of the night vision preset schemes (Camera, Binocular, Sniper, SpyPhoto, Television, Martian, Moonlight).
borderWidth
Width of the border.
noise
Amount of noise to add.
See Also

Reference

ImGearEffects Class
ImGearEffects Members
ImGearRasterPage Class
ImGearNightVisionPresets Enumeration