by IDEAL Software Support » Fri Mar 28, 2014 7:42 am
Yes, the RTF instruction-set itself has no instruction for tranparency.
But RTF allows to specify a solid background color for each text character.
This is written in the Reference Manual in the remarks section of the method SetRTFColor():
RTF offers no way to set a transparent background mode, like VPE does. So we decided to
set the background mode to transparent, in case you use COLOR_WHITE = RGB(255,
255, 255) as background color.
Here, we are talking about the background color assigned to characters within the RTF stream.
You specify the per-character background color directly in the RTF stream using the
appropriate RTF instructions. In case "white" is used, VPE will make it transparent.
The color of the whole background of the rectangular RTF object can then be specified using
BkgColor and BkgMode. For transparent RTF characters, i.e. with a white background, the BkgColor
of the object will also be the background of these characters.