+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

General Information for the RTF Object

(combit Team) #1
Valid from List & Label 13
The integrated RTF object in List & Label is based on the currently installed Microsoft RTF control of your operating system, which is also used by the application Microsoft WordPad. It is possible that multiple versions of this control are installed. These various versions could behave differently which could influence the design and print of List & Label reports. List & Label gives you the opportunity to define which version of the RTF control should be used. Therefore you can use the option LL_OPTION_MAXRTFVERSION (or if you are using the provided component: the property .MaxRTFVersion). Setting the value for this option to 0x100 limits the usage to the RTF control version 1 whilst the value 0x401 gives you the opportunity to use the RTF control in version 4.1. If there are no controls with the exact version List & Label is using either a smaller version or, if not present, the next higher one in order to prevent data loss.
Please note, if you set the option through the List & Label API LlSetOption you have to pass the job handle -1 even before the first List & Label job is opened.
Following you will find a small sequence of possible values for the option LL_OPTION_MAXRTFVERSION:
0x100 (decimal: 256)
0x200 (decimal: 512)
0x300 (decimal: 768)
0x401 (decimal: 1025)
Setting the value to 0 prevents from using any RTF control at all. The benefit will be List & Label starting faster and less usage of system resources.
If you encounter any differences in displaying RTF contents at different systems we recommend to use the option LL_OPTION_MAXRTFVERSION. Thereby you can ensure that every system uses the same version of the RTF control if possible. Beforehand you also can read out the possible values for every system, just by activating the debug mode in List & Label and have a closer look into the debug output (e.g. within a log file).

Verwandte Artikel:

IDKBTE001311 KBTE001311