Skip to main content

GetLayoutRTF

Structure

GetLayoutRTF : String

Type

Function

Description

Use this function to retrieve the full rtf text (including formatting) for the current layout. Typically this function is only used during 'Before Layout Merge' trigger action), and is used in conjunction with the SetRTFLayout function after custom replacements are done through scripting.

Parameters: none

Return value

Returns full rtf text (including formatting) as String

Example

sLayoutRTF = GetLayoutRTF
if not InProfileGroup("EDITORS", LookupCurrentUser) then
sLayoutRTF = Replace(sLayoutRTF, "!EMBED=WORK ORDER EDIT!", "")
End If
SetLayoutRTF(sLayoutRTF)