InputFile Property

The file to translate.

Syntax

ANSI (Cross Platform)
char* GetInputFile();
int SetInputFile(const char* lpszInputFile); Unicode (Windows) LPWSTR GetInputFile();
INT SetInputFile(LPCWSTR lpszInputFile);
@property (nonatomic,readwrite,assign,getter=inputFile,setter=setInputFile:) NSString* inputFile;
- (NSString*)inputFile;
- (void)setInputFile:(NSString*)newInputFile;
#define PID_X12TRANSLATOR_INPUTFILE 2

IPWORKSX12_EXTERNAL void* IPWORKSX12_CALL IPWorksX12_X12Translator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSX12_EXTERNAL int IPWORKSX12_CALL IPWorksX12_X12Translator_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property specifies the file to be processed. Set this property to the full or relative path to the file which will be processed. To specify the type of data in the input file set InputFormat.

Input and Output Properties

The class will determine the source and destination of the input and output based on which properties are set.

The order in which the input properties are checked is as follows:

When a valid source is found the search stops. The order in which the output properties are checked is as follows:
  • OutputFile
  • OutputData: The output data is written to this property if no other destination is specified.

This property is not available at design time.

Data Type

String

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