Image Viewer CP ActiveX Control

Crop

 

Crop the image to a rectangle containing the selected region and display it.

Public Function Crop(
    ) as Boolean

 

No Parameter

Return Value
True - succcessful
False -failed



Example

   

Visual Basic Syntax
ImageViewer1.FileName="c:\test1.jpg"
ImageViewer1.Crop