TWPMMInsertTextContents Object
Properties Methods

Unit
WPRTEDefs

Declaration
TWPMMInsertTextContents = class(TComponent)

Hierarchy
TComponent <--TWPMMInsertTextContents

Subclasses
None

Description
The TWPMMInsertTextContents is used as a parameter 'Contents' in the event OnMailMergeGetText. You can replace a string by simply assign a string to StringValue.
To Modify the attribute of the inserted text change the property 'MergeAttr'. You can modify the paragraph the start of the field is located. This paragraph is accessible through MergePar.
Upgrade Note: The parameter 'c' is not supported anymore. But please note that you can use the common programing interface to insert text and objects. Note: When the event is called the the whole field is selected.

Introduced Properties
 c 
CodePage 
Command 
 CurrentObject 
 CurrentTxtObject 
 DataBlock 
 DataCollection 
 DatasetnamePart 
DisplayName 
 EndInspObject 
 FieldnamePart 
Format 
 MergeAttr 
 MergePar 
 MergeParPos 
Modified 
Name 
Obj 
 OldFormattedText 
 OldIsPlain 
 OldText 
Options 
 StartInspObject 
StringValue 
WideStringValue 

Introduced Methods
Abort 
Clear 
Create 
Destroy 
LoadTextFromFile 
LoadTextFromStream 

Category
Mailmerge


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com