Command
Purpose Function: int QisLib_SetLayersOutlineType(const char* OptionString); Inputs: OptionString: A string having the following format [Backus-Naurform] < OptionString > : < LayerString > { "," < LayerString > } < LayerString > : < Layer > { ":" < DataType > } - < LineType > < Layer > : A valid layer number. < DataType > : A valid datatype number. < LineType > : "0" | "1" Return: success: 0 failure: one of the following values : Errors: 1: 'DisplayHandle' parameter of QisLib_InitLib is NULL, operation not permitted. -1: QisLib has not been initialized. -2: The specified input is invalid (null). -3: One of more arguments is invalid. -4: Error occurred while allocating specified color. -5: Error occurred while saving color to the map file. -6: File open in progress, operation not permitted. Description: - Sets the outline of the specified layer:datatypes to the corresponding type. - On Unix/Linux, this function does nothing if the 'DisplayHandle' parameter was set to NULL in QisLib_InitLib. - Currently only 2 types are supported, 1 - Show outline, 0 - Hide outline. - If a particular layer:datatype combination has line type set to 1, all polygons on that layer:datatype have an outline whose color is the same as the color specified by QisLib_SetLayersOutlineColor or one of the 6 default colors. - If datatype is absent, the changes are reflected for all datatypes of that layer.References: QisLib_SetLayersOutlineColor |