image_height property

ImageFieldMergingArgs.image_height property

Specifies the image height for the image to insert into the document.

@property
def image_height(self) -> aspose.words.fields.MergeFieldImageDimension:
    ...

@image_height.setter
def image_height(self, value: aspose.words.fields.MergeFieldImageDimension):
    ...

Remarks

The value of this property initially comes from the corresponding MERGEFIELD’s code, contained in the template document. To override the initial value, you should assign an instance of MergeFieldImageDimension class to this property or set the properties for the instance of MergeFieldImageDimension class, returned by this property.

To indicate that the original value of the image height should be applied, you should assign the None value to this property or set the MergeFieldImageDimension.value property for the instance of MergeFieldImageDimension class, returned by this property, to a negative value.

See Also