AssignHeaderTo missing in v5.

    • Offizieller Beitrag

    Hi,

    this is the FAQ - this is why the question was overlooked.

    Usually the RTFStoreage has to be replaced by a simple string. That can be loaded using the AsString property which existis in both, the TWPRichText and the TWPRTFDatabLock.RTFText property.

    DBWPRTAppendix.AssignHeaderTo(WPRtfStorageHeader.RTFText);

    would be converted to

    var WPRtfStorageHeader : string;

    WPRtfStorageHeader :=
    DBWPRTAppendix.Geat(wpIsHeader, wpraAllPages).RTFtext.AsString.

    Julian