Aspose::Words::Fields::MergeFieldImageDimension class

MergeFieldImageDimension class

Represents an image dimension (i.e. the width or the height) used across a mail merge process. To learn more, visit the Working with Fields documentation article.

class MergeFieldImageDimension : public System::Object

Methods

MethodDescription
MergeFieldImageDimension(double)Creates an image dimension instance with the given value in points.
MergeFieldImageDimension(double, Aspose::Words::Fields::MergeFieldImageDimensionUnit)Creates an image dimension instance with the given value and the given unit.
get_Unit() constThe unit.
get_Value() constThe value.
set_Unit(Aspose::Words::Fields::MergeFieldImageDimensionUnit)The unit.
set_Value(double)The value.

Remarks

To indicate that the image should be inserted with its original dimension during a mail merge, you should assign a negative value to the Value property.

See Also