Compress Property

Whether or not to compress the outgoing file.

Syntax

ANSI (Cross Platform)
int GetCompress();
int SetCompress(int bCompress); Unicode (Windows) BOOL GetCompress();
INT SetCompress(BOOL bCompress);
@property (nonatomic,readwrite,assign,getter=compress,setter=setCompress:) BOOL compress;
- (BOOL)compress;
- (void)setCompress:(BOOL)newCompress;
#define PID_OFTPCLIENT_COMPRESS 9

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

When sending a file to the trading partner, set this to true for the class to compress the file before sending. The file will first be compressed to a temporary file before being sent.

Note that this is only applicable when Version 2.0 of the protocol is used as indicated by Version.

This property is not available at design time.

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 C++ Edition - Version 20.0 [Build 8203]