ImageGear .NET - Updated
AutoCrop Method
Example 




ImageGear23.Processing.Advanced Assembly > ImageGear.Processing.ImageClean Namespace > ImGearIC Class : AutoCrop Method
1-bit ImGearPage object to apply the method to.
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. The page is not resized.
Example
// Auto crop the document.
ImGearIC.AutoCrop(igPage);
' Auto crop the document.
ImGearIC.AutoCrop(igPage)
See Also

Reference

ImGearIC Class
ImGearIC Members
ImGearPage Class