WPTools Manual



Search


(press enter to search)

Function TWPRTFDataCollectionBase.LoadFromStringWithReader(Ansi:AnsiString; Reader:TWPCustomTextReader; OnlyBody:Boolean; AfterLoadEvent:TWPIOAfterLoadWithReader) : TWPRTFDataBlock

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataCollectionBase

Parameters

  • Ansi:AnsiString
  • Reader:TWPCustomTextReader
  • OnlyBody:Boolean
  • AfterLoadEvent:TWPIOAfterLoadWithReader

Returns

The type of the result value is TWPRTFDataBlock.

Description

This function uses a reader instance to load a text from a memory buffer passed as ANSI string