Automatic document conversion to fixed size - DocumentUpgrade.xml

To ensure a consistent automatic conversion of 2018 and older documents to the new layout system introduced in TARGIT 2019 please follow these steps:

  1. Create a file named “DocumentUpgrade.xml” in the default Settings folder of the TARGIT Server:
  2. Copy and paste the following into the file using a text editor like Notepad:
<?xml version="1.0" encoding="utf-8"?>
<Setting name="ConvertHeight" value="PUT INTEGER VALUE HERE (PIXELS)" />
<Setting name="ConvertWidth" value="PUT INTEGER VALUE HERE (PIXELS)" />

The integer values (pixels) inserted into the file should be as close to the size of a “good looking” document as possible, that is, a document where objects are displayed as you like and without unintended scrollbars, enlarged texts, etc.

The best way to find this is to open 2-3 documents in the 2019 version and set a custom size in the Page
Settings dialog and check ‘Resize objects to fit page’ before clicking OK.



We recommend the 1600 x 900 pixels option, as this is the default setting for any new dashboards in TARGIT 2019 and later versions.

When you have found a height and width that appears to be a good indicator for conversion values place them in the xml file. Whenever you open a document that was last saved in versions older than the 2019 version, they will be converted to this specific size.

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.