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: DynamsoftCaptureVisionBundle.aar
class ImageTag
Methods
| Methods | Description |
|---|---|
ImageTag |
The constructor. |
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. |
getTagType |
The type of the image tag. |
setDistanceMode |
Set the capture distance mode of the image. |
getDistanceMode |
Get the capture distance mode of the image. |
ImageTag
The constructor.
ImageTag();
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.
getTagType
The type of the image tag.
int getTagType();
Return Value
The type of the image tag. Refer to EnumImageTagType.
setDistanceMode
Set the capture distance mode of the image.
void setDistanceMode(int distanceMode)
Parameters
[in] distanceMode: The capture distance mode of the image. Refer to EnumImageCaptureDistanceMode.
getDistanceMode
Get the capture distance mode of the image.
int getDistanceMode()
Return Value
The distance mode of the image. Refer to EnumImageCaptureDistanceMode.