TiffTagAddRational
This method adds a new TIFF tag of type rational to the image object.
Syntax
TiffTagAddRational (TagId As Long, TagType As CROTiffTagType, Num As Long, Denom As Long)
Parameter | Description |
---|---|
TagId |
The Id of the new tag must be in the range of valid user tags for TIFF files. Possible values 32768 to 65535 Additionally, the printer tag is allowed, which is defined as 337. |
TagType |
Type of the new tag. Possible values
|
Num |
Numerator value of the new rational TIFF tag. |
Denom |
Denominator value of the new rational TIFF tag. Must not be 0. |
Note: The method does not save the changes to the image file. To
save the file, call a save method.