
## __init__ {#}

Initializes a new instance of the [`TiffSRational`](/cad/python-net/aspose.cad.fileformats.tiff/tiffsrational) class.



```python
def __init__(self):
    ...
```




## __init__ {#int}

Initializes a new instance of the [`TiffRational`](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational) class.



```python
def __init__(self, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| value | int | The nominator value. |
### Remarks

The nominator will be used as the value specified and denominator will be equal 1.

## __init__ {#int-int}

Initializes a new instance of the [`TiffSRational`](/cad/python-net/aspose.cad.fileformats.tiff/tiffsrational) class.



```python
def __init__(self, nominator, denominator):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| nominator | int | The nominator. |
| denominator | int | The denominator. |



### See Also
* module [`aspose.cad.fileformats.tiff`](../../)
* class [`TiffRational`](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational)
* class [`TiffSRational`](/cad/python-net/aspose.cad.fileformats.tiff/tiffsrational)
