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
Package: com.dynamsoft.core.basic_structures
public abstract class ImageTag
Attributes
| Attribute | Type | Description |
|---|---|---|
imageId |
int | The ID of the image. |
mode |
int | The capture distance mode of the image. |
Methods
| Method | Description |
|---|---|
ImageTag |
Constructor. Initializes a new instance of the ImageTag class. |
getType |
Gets the type of the image tag. |
clone |
Creates a copy of the image tag. |
getImageId |
Gets the ID of the image. |
setImageId |
Sets the ID of the image. |
getImageCaptureDistanceMode |
Gets the capture distance mode of the image. |
setImageCaptureDistanceMode |
Sets the capture distance mode of the image. |
Attributes
imageId
The ID of the image.
int imageId
mode
The capture distance mode of the image.
@EnumImageCaptureDistanceMode int mode
Methods
ImageTag
Constructor. Initializes a new instance of the ImageTag class.
protected ImageTag()
getType
Gets the type of the image tag.
public abstract @EnumImageTagType int getType()
Return Value
Returns the type of the image tag.
See Also
clone
Creates a copy of the image tag.
public abstract ImageTag clone()
Return Value
Returns a copy of the image tag.
getImageId
Gets the ID of the image.
int getImageId()
Return Value
Returns the ID of the image.
setImageId
Sets the ID of the image.
void setImageId(int imageId)
Parameters
imageId The ID of the image.
getImageCaptureDistanceMode
Gets the capture distance mode of the image.
@EnumImageCaptureDistanceMode int getImageCaptureDistanceMode()
Return Value
Returns the capture distance mode of the image.
See Also
setImageCaptureDistanceMode
Sets the capture distance mode of the image.
void setImageCaptureDistanceMode(@EnumImageCaptureDistanceMode int mode)
Parameters
mode The capture distance mode of the image.
See Also