Articles in this section

How to adjust the dimensions of an image

This article explains how to adjust the dimensions of images inserted through smart fields so it can populate the dynamic document. 

  Prerequisites

  • Library and at least one Dynamics modules enabled.
  • Templafy Desktop and Office VSTO add-in installed on the PC.
  • Space owner access to the Templafy tenant.

  Important

Please note that the Template tab is only available in Word and PowerPoint. Inserting images dynamically into a Spreadsheet for Excel is not supported.

When setting up smart fields for images, the dimensions of images can be adjusted by accessing the options available in the Advanced section of the smart field: 

CustomImage_InheritDimensions.png

Inherit Dimensions

The Inherit Dimensions dropdown provides the option to inherit the native width and height of the image:

  • InheritNone: nothing is inherited.
  • InheritWidth: the native width of the image is inherited.
  • InheritHeight: the native height of the image is inherited.
  • Custom inheritDimensions: provide a custom expression to inherit dimensions.

Width and height

The fields Width and Height allow the user to adjust the size of the inserted images by statically defining the values, like '3.75 cm' or by using a binding to define them. The binding can refer to a data source that  contains width and/or height. 
If only the width is defined, the height will be adjusted and set upon creation, and the other way around. 

  Important

  • Dimension must always be added in centimeters.
  • A decimal must be used as separator (e.g. '3.75 cm'.
conditions column header tech_role
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.