bizdoc | Object The document from which you want to get content. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope. |
partName | String The name of the content part from which you want get content. |
getAs | String Specifies the format in which the content should be returned. Set the following values: bytes - Returns content as a byte[] object. If you specify bytes, you must specify startIndex and byteCount. stream - Returns an InputStream from the content of this part. |
startIndex | String (optional) If getAs is set to bytes, this specifies the starting index of the content from which to read. This input is optional when getAs is set to stream. |
byteCount | String (optional) If getAs is set to bytes, this specifies the number of bytes to read from startIndex. This input is optional when getAs is set to stream. |
partContent | Object The content of the part specified by partName. If getAs is set to bytes, partContent is an instance of byte[]. If getAs is set to stream, partContent is an instance of InputStream. |