创建新话题
已回答

RvfzToDocX

Hi,


I am trying to use this function: SystemWeaver.Common.SWUtility.RvfzToDocX(System.Byte[],SystemWeaver.Common.IswBroker) It is documented in the SystemWeaverClientAPI.XML (Fileversion 1.5). When calling SWUtility.RvfzToDocX(item.DescriptionSWConnection.Instance.Broker) I get an error saying that "No method matches given arguments".


Do you know if I am doing something wrong or if the documentation is incorrect?

 

 


最佳答案

Hi,


To get the Description content as docx, use:

docx = SWDescription.DescriptionToDocX( item.Description, SWConnection.Instance.Broker)


or, to use "RvfzToDocX" you need to give RVZF data of the Description:

System.Byte[] :Compressed RichView data


docx2 = SWUtility.RvfzToDocX(item.Description.Data, SWConnection.Instance.Broker)

    for docx_byte in docx2:

         print(docx_byte)






1 Comment

回答

Hi,


To get the Description content as docx, use:

docx = SWDescription.DescriptionToDocX( item.Description, SWConnection.Instance.Broker)


or, to use "RvfzToDocX" you need to give RVZF data of the Description:

System.Byte[] :Compressed RichView data


docx2 = SWUtility.RvfzToDocX(item.Description.Data, SWConnection.Instance.Broker)

    for docx_byte in docx2:

         print(docx_byte)






登录 发表评论