MergeFieldImageDimension constructor

MergeFieldImageDimension(value)

Creates an image dimension instance with the given value in points.

def __init__(self, value: float):
    ...
ParameterTypeDescription
valuefloatThe 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):
    ...
ParameterTypeDescription
valuefloatThe value.
unitMergeFieldImageDimensionUnitThe unit.

Remarks

You should use a negative value to indicate that the original value of the corresponding image dimension should be applied.

See Also