Procedure TWPRTFEngineBasis.SetRTFDataOrProps(NewRTFData:TWPRTFDataCollectionBase; NewRTFProps:TWPRTFProps)

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFEngineBasis

Parameters

Description

Assigns the RTF data source. This must be done before any RTFEngine function is used. Assigning the RTFData will also assign the default font of the RTFData object to the writing font object. In contrary, when no RTFData is assigned and a dynamically created is used instead the writing font is assigned to the default font.
procedure RemoveRTFData is the counter part to SetRTFDataOrProps