ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Processing.ImageClean Namespace / ImGearIC Class / AutoCrop Method
1-bit ImGearPage object to apply the method to.
Example




In This Topic
    AutoCrop Method
    In This Topic
    Detects and crops the white border from the page.
    Syntax
    'Declaration
     
    Public Shared Sub AutoCrop( _
       ByVal page As ImGearPage _
    ) 
    'Usage
     
    Dim page As ImGearPage
     
    ImGearIC.AutoCrop(page)
    public static void AutoCrop( 
       ImGearPage page
    )
    public: static void AutoCrop( 
       ImGearPage* page
    ) 
    public:
    static void AutoCrop( 
       ImGearPage^ page
    ) 

    Parameters

    page
    1-bit ImGearPage object to apply the method to.
    Remarks
    This method takes 1-bit ImGearPage and automatically detects and then crops the white borders from all four sides of the page.
    Example
    // Auto crop the document.
    ImGearIC.AutoCrop(igPage);
    ' Auto crop the document.
    ImGearIC.AutoCrop(igPage)
    See Also