ImageTag
The ImageTag
class represents an image tag that can be attached to an image in a system. It contains information about the image, such as the image ID and the image capture distance mode.
Definition
Namespace: com.dynamsoft.core.basic_structures
Assembly: DynamsoftCore.aar
class ImageTag
Methods
Methods | Description |
---|---|
setImageId |
Set the ID of the image. The ID is the unique identifier of the image. |
getImageId |
Get the ID of the image. The ID is the unique identifier of the image. |
getType |
The type of the image tag. |
setDistanceMode |
Set the capture distance mode of the image. |
getDistanceMode |
Get the capture distance mode of the image. |
setImageId
Set the ID of the image. The ID is the unique identifier of the image.
void setImageId(int imageId);
Parameters
[in] imageId
: The id of image for identification.
getImageId
Get the ID of the image. The ID is the unique identifier of the image.
int getImageId();
Return Value
The ID of the image.
getType
The type of the image tag.
EnumImageTagType getType();
Return Value
The EnumImageTagType
of the image.
setDistanceMode
Set the capture distance mode of the image.
void setDistanceMode(EnumImageCaptureDistanceMode distanceMode)
Parameters
[in] distanceMode
: The capture distance mode of the image.
getDistanceMode
Get the capture distance mode of the image.
EnumImageCaptureDistanceMode getDistanceMode()
Return Value
The EnumImageCaptureDistanceMode
of the image.