**Inheritance:**
java.lang.Object
```
public final class TiffTagFactory
```

Tag factory class
## Methods

| Method | Description |
| --- | --- |
| [createInstance(int dataType, int tagId)](#createInstance-int-int-) | Creates a new data type instance. |
### createInstance(int dataType, int tagId) {#createInstance-int-int-}
```
public static TiffDataType createInstance(int dataType, int tagId)
```


Creates a new data type instance.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| dataType | int | The data type instance. |
| tagId | int | The tag id. |

**Returns:**
[TiffDataType](../../com.aspose.imaging.fileformats.tiff/tiffdatatype) - Tiff tag data type
