ImageGear .NET - Updated
CanApplyRemovePunchHoles Method
Example 




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

Parameters

page
ImGearPage object to verify.

Return Value

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

Reference

ImGearICVerifier Class
ImGearICVerifier Members
ImGearPage Class