ImageMan ActiveX Control Version 8
Crop Method
See Also  Example  Send comments on this topic.
Left
Specifies the left pixel coordinate of the rectangle to be cropped
Top
Specifies the topt pixel coordinate of the rectangle to be cropped
Right
Specifies the right pixel coordinate of the rectangle to be cropped
Bottom
Specifies the bottom pixel coordinate of the rectangle to be cropped

Glossary Item Box

Description

 Crops the defined section of the image into the ImageControl.

Syntax

Visual Basic
Public Sub Crop( _
   ByVal Left As Long, _
   ByVal Top As Long, _
   ByVal Right As Long, _
   ByVal Bottom As Long _
) 

Parameters

Left
Specifies the left pixel coordinate of the rectangle to be cropped
Top
Specifies the topt pixel coordinate of the rectangle to be cropped
Right
Specifies the right pixel coordinate of the rectangle to be cropped
Bottom
Specifies the bottom pixel coordinate of the rectangle to be cropped

Example

Crop (Visual Basic)Copy Code
'crops the 100x100 upper left corner of existing image

ImageControl1.Crop 0,0,100,100

See Also

© 2014 Data Techniques Inc. All Rights Reserved.