ImageGear v26.5 - Updated March 3, 2025
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessingVerifier Class / CanApplyStretchContrast Method / CanApplyStretchContrast(ImGearRasterPage,ImGearContrastModes) Method
Raster page object to verify.
Contrast mode.




In This Topic
CanApplyStretchContrast(ImGearRasterPage,ImGearContrastModes) Method
In This Topic
Returns true, if ImGearRasterProcessing.StretchContrast method can be applied to the specified page with the specified contrast mode, false otherwise.
Syntax
'Declaration
 
Public Overloads Function CanApplyStretchContrast( _
   ByVal page As ImGearRasterPage, _
   ByVal mode As ImGearContrastModes _
) As Boolean
 
'Usage
 
Dim instance As ImGearRasterProcessingVerifier
Dim page As ImGearRasterPage
Dim mode As ImGearContrastModes
Dim value As Boolean
 
value = instance.CanApplyStretchContrast(page, mode)

Parameters

page
Raster page object to verify.
mode
Contrast mode.

Return Value

Boolean value.
See Also