CFileImageTag
The CFileImageTag class represents an image tag that is associated with a file. It inherits from the CImageTag class and adds additional attributes.
Definition
Namespace: dynamsoft::basic_structures
Assembly: DynamsoftCore
Inheritance: CImageTag -> CFileImageTag
class CFileImageTag : public CImageTag
Methods
| Method | Description |
|---|---|
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. |
CFileImageTag |
The constructor of the CFileImageTag class. |
~CFileImageTag |
The destructor of the CFileImageTag class. |
| Methods Inherited from CImageTag: | |
GetType |
Gets the type of the image tag. |
Clone |
Creates a copy of the image tag. |
GetFilePath
Gets the file path of the image tag.
const char* GetFilePath() const
Return value
Returns the file path of the image tag.
GetPageNumber
Get the page number of the current image in the Multi-Page image file.
int GetPageNumber() const
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.
int GetTotalPages() const;
Return value
Returns the total page number of the Multi-Page image file.
CFileImageTag Constructor
The constructor of the CFileImageTag class.
CFileImageTag(const char* _filePath, int _pageNumber, int _totalPages)
Parameters
[in] _filePath The file path of the image tag.
[in] _pageNumber The page number of the current image in the Multi-Page image file.
[in] _totalPages The total page number of the Multi-Page image file.
CFileImageTag Destructor
The destructor of the CFileImageTag class. It frees the memory allocated for the file path.
virtual ~CFileImageTag()