RTF2PDF Export()

  • Is there any way to export to some sort of in-memory file representation, say byte array or stream? I found that Export() method only accepts a filename... If it is not possible to do this directly may be there is a workaround?

    Thanks in advance.

    Anna

    • Offizieller Beitrag

    Do you use Version 2 or 3 ?

    The RTF code can be loaded fro a buffer as well.

    Use command

    WPCOM_RTFLOADFROMBUFFER = 1030
    WPCOM_RTFAPPENDFROMBUFFER = 1031

    and the text as string parmeter in Command

    Julian