Vai al contenuto principale

GetLayoutRTF

Struttura

GetLayoutRTF : stringa

Tipo

Funzione

Descrizione

Utilizza questa funzione per recuperare il testo RTF completo (compresa la formattazione) del 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 SetRTFLayout dopo aver effettuato le sostituzioni personalizzate tramite script.

Parametri: nessuno

Torna indietro

Restituisce il testo RTF completo (compresa la formattazione) come stringa

Esempio:

sLayoutRTF = GetLayoutRTF

if not InProfileGroup("EDITORS", LookupCurrentUser) then

sLayoutRTF = Replace(sLayoutRTF, "!EMBED=WORK ORDER EDIT!", "")

End If

SetLayoutRTF(sLayoutRTF) |