| View previous topic :: View next topic |
| Author |
Message |
gsaunders
Joined: 01 Jun 2007 Posts: 70
|
Posted: Fri Jun 01, 2007 8:22 pm Post subject: AssignHeaderTo missing in v5. |
|
|
My coworker had the following code:
| Code: | DBWPRTAppendix.AssignHeaderTo(WPRtfStorageHeader.RTFText);
|
How would this now be achieved since AssignHeaderTo no longer exist?
Last edited by gsaunders on Tue Jun 05, 2007 12:51 pm; edited 1 time in total |
|
| Back to top |
|
 |
gsaunders
Joined: 01 Jun 2007 Posts: 70
|
Posted: Mon Jun 04, 2007 7:42 pm Post subject: |
|
|
| Anyone? |
|
| Back to top |
|
 |
wpsupport Site Admin
Joined: 24 Oct 2003 Posts: 5658
|
Posted: Wed Jun 20, 2007 10:56 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|