Imposta layout RTF
Struttura
SetLayoutRTF(sLayoutRTF) : String
Tipo
Procedura
Descrizione
Utilizza questa funzione per impostare il testo RTF completo (compresa la formattazione) per il layout corrente. In genere questa funzione viene utilizzata solo durante l'azione di trigger "Prima dell'unione dei layout" e viene impiegata insieme alla funzione GetLayoutRTF per consentire l'esecuzione di sostituzioni personalizzate tramite script.
Parametri: 1
| Parametro | Tipo | Descrizione
o | sLayoutRTF | Stringa | testo RTF completo (compresa la formattazione) |
Esempio:
sLayoutRTF = GetLayoutRTF
if not InProfileGroup("EDITORS", LookupCurrentUser) then
sLayoutRTF = Replace(sLayoutRTF, "!EMBED=WORK ORDER EDIT!", "")
End If
SetLayoutRTF(sLayoutRTF) |