Image Viewer CP Pro ActiveX Control ReferenceMethods Crop2PictureBox Image Viewer CP ActiveX Control Crop2PictureBox Crop the image to a rectangle containing the selected region and return VB Picture object. Public Function Crop2PictureBox( ) as stdole.Picture No ParameterReturn ValueReturn stdole.Picture Example Visual Basic SyntaxImageViewer1.FileName="c:\test1.jpg"Picture1.Picture= ImageViewer1.Crop2PictureBox