ImageGear .NET v25.1 - Updated
CanApplyResize Method




ImageGear.Core Assembly > ImageGear.Processing Namespace > ImGearProcessingVerifier Class : CanApplyResize Method
Page to verify.
Page width.
Page height.
Interpolation options.
Verifies if ImGearProcessing.Resize method can be applied to the Page.
Syntax
'Declaration
 
Public Function CanApplyResize( _
   ByVal page As ImGearPage, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal options As ImGearInterpolationOptions _
) As Boolean
'Usage
 
Dim instance As ImGearProcessingVerifier
Dim page As ImGearPage
Dim width As Integer
Dim height As Integer
Dim options As ImGearInterpolationOptions
Dim value As Boolean
 
value = instance.CanApplyResize(page, width, height, options)
public bool CanApplyResize( 
   ImGearPage page,
   int width,
   int height,
   ImGearInterpolationOptions options
)
public: bool CanApplyResize( 
   ImGearPage* page,
   int width,
   int height,
   ImGearInterpolationOptions* options
) 
public:
bool CanApplyResize( 
   ImGearPage^ page,
   int width,
   int height,
   ImGearInterpolationOptions^ options
) 

Parameters

page
Page to verify.
width
Page width.
height
Page height.
options
Interpolation options.

Return Value

Boolean value.
Remarks
Returns true if ImGearProcessing.Resize method can be applied to the specified page, with the specified dimensions and interpolation, false otherwise.
See Also

Reference

ImGearProcessingVerifier Class
ImGearProcessingVerifier Members
Resize Method
ImGearPage Class
ImGearInterpolationOptions Class