Command
Purpose Function: int QisLib_SetLayersOff(const char* LayerString); Inputs: LayerString: A string with the following format [Backus-Naur form] < LayerString >: "All" | < LayerEntry > { "," < LayerEntry > } < LayerEntry > : < Layer > { ":" < DataType > } < Layer > : A valid layer number. (Refer to Support & Compliance section) < DataType > : A valid datatype number. (Refer to Support & Compliance) Return: success: 0 failure: one of the following values : Errors: -1: QisLib has not been initialized. -2: The specified input is invalid (possibly null). -3: The format of the input arguments is invalid . -4: File open in progress, operation not permitted. Description: - Instructs the QisLib to consider the specified layer:datatypes as off when returning vector data or images. - If only the layer number is specified, all datatypes for that layer are turned off. - All other layer:datatypes will be turned on. Hence the effect of multiple calls to this function is not cumulative. - Invalid layer or datatypes numbers will be ignored. Examples: QisLib_SetLayersOff("1,2:3"); // Sets layers 1 and 2:3 Off. All // other layer:datatype // combinations are // turned off. QisLib_SetLayersOff("All"); // Sets all layer:datatype // combinations off.References: QisLib_SetLayersOn QisLib_SetInputLayerMap |