AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : Crop Method |
The left component of the top-left coordinate of the rectangular area to crop.
Valid values are greater than or equal to zero.
The top component of the top-left coordinate of the rectangular area to crop.
Valid values are greater than or equal to zero.
The width of rectangular area to crop.
Valid values are greater than or equal to zero.
The height of rectangular area to crop.
Valid values are greater than or equal to zero.
Visual Basic |
---|
Public Sub Crop( _ ByVal IPCropX As Long, _ ByVal IPCropY As Long, _ ByVal IPCropWidth As Long, _ ByVal IPCropHeight As Long _ ) |
The left component of the top-left coordinate of the rectangular area to crop.
Valid values are greater than or equal to zero.
The top component of the top-left coordinate of the rectangular area to crop.
Valid values are greater than or equal to zero.
The width of rectangular area to crop.
Valid values are greater than or equal to zero.
The height of rectangular area to crop.
Valid values are greater than or equal to zero.
If the area defined by the crop parameters does not fall within the boundaries of the image, the image is not cropped and the ImagError property is set with IX_Error_InvalidCrop.
Note: This property is deprecated and the application should use the ViewCropX property.
The width and height of the crop rectangle is determined by the width and height of the control. The crop rectangle is a rectangular area within the boundaries of the control.
Note: This property is deprecated and the application should use the ViewCropY property.
The width and height of the crop rectangle is determined by the width and height of the control. The crop rectangle is a rectangular area within the boundaries of the control.