Function TWPRTFDataCollectionBase.LoadRTFDataBlock(Source:TStream; FormatName:string; FilenameAndPath:string; FirstCharAttr:Cardinal) : TWPRTFDataBlock

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataCollectionBase

Parameters

  • Source:TStream
  • FormatName:string
  • FilenameAndPath:string
  • FirstCharAttr:Cardinal

Returns

The type of the result value is TWPRTFDataBlock.

Description

This function loads the body text stored in a stream and created a new RTFDataBlock object in the data collection. The Kind of this new block, which is returned, is wpIsOwnerSelected