FileImageTag
The FileImageTag class represents an image tag that is associated with a file. It inherits from the ImageTag class and adds additional attributes.
Definition
Package: com.dynamsoft.core.basic_structures
public class FileImageTag extends ImageTag
Methods
| Method | Description |
|---|---|
FileImageTag |
Initializes a new instance of the FileImageTag class. |
getFilePath |
Gets the file path of the image. |
getPageNumber |
Gets the page number of the current image in the Multi-Page image file. |
getTotalPages |
Gets the total page number of the Multi-Page image file. |
getType |
Gets the type of the image tag. |
clone |
Creates a copy of the image tag. |
FileImageTag
Initializes a new instance of the FileImageTag class.
public FileImageTag(String filePath, int pageNumber, int totalPages)
Parameters
filePath: The file path of the image tag.
pageNumber: The page number of the current image in the Multi-Page image file.
totalPages: The total page number of the Multi-Page image file.
getFilePath
Gets the file path of the image.
public String getFilePath()
Return Value
Returns the file path of the image tag.
getPageNumber
Gets the page number of the current image in the Multi-Page image file.
public int getPageNumber()
Return Value
Returns the page number of the current image in the Multi-Page image file.
getTotalPages
Gets the total page number of the Multi-Page image file.
public int getTotalPages()
Return Value
Returns the total page number of the Multi-Page image file.
getType
Gets the type of the image tag.
public @EnumImageTagType int getType()
Return Value
Returns the type of the image tag.
See Also
clone
Creates a copy of the image tag.
public ImageTag clone()
Return Value
Returns a copy of the FileImageTag object.