ClearAttachments Method

Clear attachments list.

Object.ClearAttachments()

Remarks

Applies To: XFRX#INIT, XFRX#LISTENER, PDFL#INIToXFRX

XFRX version: 17.3

XFRX version: 24.0 for oXFRX

Examples

LOCAL m.lnErr
m.loXFRX=EVALUATE([xfrx("XFRX#INIT")])
m.lnErr=m.loXFRX.SetParams("some.pdf",,,,.T.,,"PDF")
IF m.lnErr=0
   m.loXFRX.AddAttachment("test.xml", .T.,"ISDOC xml file","text/XML","Alternative")

   m.loXFRX.ClearAttachments()
ENDIF