Description:
ReplaceWithVariable indicate to II2LN that the imported image should replace a variable in the rich text field. This is a powerful feature which enables you to use document templates already containing information.
ReplaceWithVariable also enables II2LN to replace variables in any field in the document
Declaration:
ReplaceWithVariable:<Variable>
Parameters:
| Param | Description | 
| <Variable> | The variable to search for in the rich text field. If you for example specify $(Image), then II2LN would replace that variable with the image | 
Notes:
Below the effect of the ReplaceWithVariable import option is demonstrated:


lRc = ImportImage(_db.Server,_  
db.FilePath,_ 
doc.UniversalID, _ 
"Body",_ 
strFileName,_ 
"ReplaceWithVariable:$(Image);Resize:200,200")
Introduced in version:
1.0.0.0
Repeatable
No