You can include bitmaps (BMP, GIF, JPG, RLE, or WMF files) in a RichText DataWindow.
To insert a picture in the rich text:
Select Insert>Control>Picture from the menu bar.
Click in the text where you want the picture to appear.
PowerBuilder displays the Select Picture dialog box.
Select the file containing the picture.
A picture is selected when you can see a dashed outline in Design or Preview view. When the picture is part of a text selection, it displays with inverted colors.
You can change the size of a picture as a percentage of the original picture size. The allowable range for a size percent change is between 10 and 250 percent.
To specify size settings for the picture:
Click on the picture in the Design or Preview view so you see its dashed-outline frame.
Right-click in the Design or Preview view and select Properties from the pop-up menu.
The Rich Text - Picture Object dialog box displays.
Change the percent of the original picture size in the Width and Height text boxes.
The picture expands or contracts according to the size percentage you selected.