Blob OCX Reference 15.0
Enumerations

Enumerations

enum  BlobSortMode {
  SORT_UNSORTED = 0 , SORT_BY_SIZE = 1 , SORT_BY_X_POSITION = 2 , SORT_BY_Y_POSITION = 3 ,
  SORT_BY_DISTANCE = 4
}
 The sort mode specifies how the objects can be sorted. More...
 
enum  ErrorCode {
  ERROR_UNKNOWN = 1 , ERROR_PARAMETER = 2 , ERROR_NOIMAGE = 16 , ERROR_INVALIDIMAGE = 17 ,
  ERROR_IMAGE_INCOMPATIBLE = 500 , ERROR_INVALIDPLANE = 501 , ERROR_INVALIDTHRESHOLD = 502 , ERROR_INVALIDRESULTINDEX = 503 ,
  ERROR_INVALIDPOINTINDEX = 504
}
 The sort mode specifies how the objects can be sorted. More...
 

Detailed Description

Enumeration Type Documentation

◆ BlobSortMode

The sort mode specifies how the objects can be sorted.

Supported platforms:
Win32
Win64
Related Topics:
#SortMode Property
Enumerator
SORT_UNSORTED 

The objects are unsorted.

SORT_BY_SIZE 

The objects are sorted by size.

SORT_BY_X_POSITION 

The objects are sorted by x-position.

SORT_BY_Y_POSITION 

The objects are sorted by y-position.

SORT_BY_DISTANCE 

The objects are sorted by distance to a specified point (see #SortCenterX property and #SortCenterY property).

◆ ErrorCode

enum ErrorCode

The sort mode specifies how the objects can be sorted.

Supported platforms:
Win32
Win64
Related Topics:
#SortMode Property
Enumerator
ERROR_UNKNOWN 

An error that cannot be described more precisely.

ERROR_PARAMETER 

A parameter (property) is invalid.

ERROR_NOIMAGE 

There is no image assigned to the control.

ERROR_INVALIDIMAGE 

The specified image in the #Image property is invalid.

ERROR_IMAGE_INCOMPATIBLE 

The specified image in the #Image property is not compatible with the tool, e.g., bit depth or number of input planes.

ERROR_INVALIDPLANE 

The plane specified in the #PlaneIndex property is invalid.

ERROR_INVALIDTHRESHOLD 

The thresholds specified in #ThresholdLower and #ThresholdUpper properties are invalid.