MergeFieldImageDimension constructor
Contents
[
Hide
]MergeFieldImageDimension(value)
Creates an image dimension instance with the given value in points.
def __init__(self, value: float):
...
Parameter | Type | Description |
---|---|---|
value | float | The value. |
Remarks
You should use a negative value to indicate that the original value of the corresponding image dimension should be applied.
MergeFieldImageDimension(value, unit)
Creates an image dimension instance with the given value and the given unit.
def __init__(self, value: float, unit: aspose.words.fields.MergeFieldImageDimensionUnit):
...
Parameter | Type | Description |
---|---|---|
value | float | The value. |
unit | MergeFieldImageDimensionUnit | The unit. |
Remarks
You should use a negative value to indicate that the original value of the corresponding image dimension should be applied.
See Also
- module aspose.words.fields
- class MergeFieldImageDimension