Visual Basic |
---|
Public Sub Area( _ ByVal IPArea As Boolean, _ ByVal IPAreaX As Long, _ ByVal IPAreaY As Long, _ ByVal IPAreaWidth As Long, _ ByVal IPAreaHeight As Long _ ) |
- IPArea
- A boolean expression that enables or disables the update area.
- IPAreaX
The left component of the top-left coordinate of the area cropping rectangle.
Valid values are greater than zero.
- IPAreaY
The top component of the top-left coordinate of the area cropping rectangle.
Valid values are greater than zero.
- IPAreaWidth
The width of the area cropping rectangle (in pixels).
Valid values are greater than zero.
- IPAreaHeight
The height of the area cropping rectangle (in pixels).
Valid values are greater than zero.
-
When this method is enabled (IPArea = True), all image processing methods are applied to this area. When Area is disabled (IPArea = False), all image processing methods are applied to the entire image.
-
If the IPAreaX or IPAreaY parameters fall within the boundaries of the image but the IPareaWidth or IPareaHeight parameters exceed the boundaries of the image, the update area is cropped to fit within the image boundaries.
The Area method sets the IPAreaX, IPAreaY, IPAreaWidth, and IPAreaHeight properties. These properties record the value of the Area method parameters so they can be used at a later point.
ImagXpress Object | ImagXpress Members | IPArea Property | IPAreaX Property | IPAreaY Property | IPAreaHeight Property | IPAreaWidth Property | Area and Region | Image Processing