ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Processing.ImageClean Namespace / ImGearICVerifier Class / CanApplyRemovePunchHoles Method
ImGearPage object to verify.
Example




In This Topic
    CanApplyRemovePunchHoles Method
    In This Topic
    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