ImageGear .NET v25.0 - Updated
CanApplyAutoCrop Method
Example 




ImageGear.Processing.Advanced Assembly > ImageGear.Processing.ImageClean Namespace > ImGearICVerifier Class : CanApplyAutoCrop Method
ImGearPage object to verify.
Checks if ImGearIC.AutoCrop method can be applied to ImGearPage.
Syntax
'Declaration
 
Public Function CanApplyAutoCrop( _
   ByVal page As ImGearPage _
) As Boolean
'Usage
 
Dim instance As ImGearICVerifier
Dim page As ImGearPage
Dim value As Boolean
 
value = instance.CanApplyAutoCrop(page)
public bool CanApplyAutoCrop( 
   ImGearPage page
)
public: bool CanApplyAutoCrop( 
   ImGearPage* page
) 
public:
bool CanApplyAutoCrop( 
   ImGearPage^ page
) 

Parameters

page
ImGearPage object to verify.

Return Value

True ImGearIC.AutoCrop method can be applied to the specified page.
False ImGearIC.AutoCrop method cannot be applied to the specified page.
Example
if (ImGearIC.Verifier.CanApplyAutoCrop(igPage))
{
    // The IC method can be applied to igPage.
    // Apply it here.
}
If ImGearIC.Verifier.CanApplyAutoCrop(igPage) Then
    ' The IC method can be applied to igPage.
    ' Apply it here.
End If
See Also

Reference

ImGearICVerifier Class
ImGearICVerifier Members
ImGearPage Class