OutputFormat Property
The format of the output data.
Syntax
ANSI (Cross Platform) int GetOutputFormat();
int SetOutputFormat(int iOutputFormat); Unicode (Windows) INT GetOutputFormat();
INT SetOutputFormat(INT iOutputFormat);
Possible Values
EOF_XML(0),
EOF_JSON(1),
EOF_EDIFACT(2)
@property (nonatomic,readwrite,assign,getter=outputFormat,setter=setOutputFormat:) int outputFormat; - (int)outputFormat; - (void)setOutputFormat:(int)newOutputFormat;
Possible Values
EOF_XML(0),
EOF_JSON(1),
EOF_EDIFACT(2)
#define PID_EDIFACTTRANSLATOR_OUTPUTFORMAT 6 IPWORKSEDIFACT_EXTERNAL void* IPWORKSEDIFACT_CALL IPWorksEDIFACT_EDIFACTTranslator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDIFACT_EXTERNAL int IPWORKSEDIFACT_CALL IPWorksEDIFACT_EDIFACTTranslator_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property specifies the format of the output data. The value set here, along with InputFormat, determines how the data is converted when Translate is called.
Possible values are:
- 0 (ofXML)
- 1 (ofJSON)
- 2 (ofEDIFACT)
This property is not available at design time.
Data Type
Integer