OptionCompress Property

Preference to compress outgoing data.

Syntax

ANSI (Cross Platform)
int GetOptionCompress();
int SetOptionCompress(int bOptionCompress); Unicode (Windows) BOOL GetOptionCompress();
INT SetOptionCompress(BOOL bOptionCompress);
@property (nonatomic,readwrite,assign,getter=optionCompress,setter=setOptionCompress:) BOOL optionCompress;
- (BOOL)optionCompress;
- (void)setOptionCompress:(BOOL)newOptionCompress;
#define PID_AS2PROFILEMGR_OPTIONCOMPRESS 17

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

Default Value

FALSE

Remarks

OptionCompress is used to store your preference of compressing the data sent to your trading partner.

After invoking LoadProfile, the OptionCompress will contain your compression preference for your trading partner, alternatively OptionCompress may be set and saved by invoking SaveProfile.

Data Type

Boolean

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