GM_Utility .SetFeatureClassEnabled Method |
Enables or disables the display of the given feature class.
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)

C#
Copy
public static bool SetFeatureClassEnabled(
ushort aFeatureClass,
GM_FeatureClassType_t8 aFeatureClassType,
bool aEnable
)
Parameters
- aFeatureClass
-
Type:
System.UInt16
IN: Feature class to get info for - aFeatureClassType
-
Type:
GlobalMapper.Types.GM_FeatureClassType_t8
IN: Type of feature class (area, point, line) - aEnable
-
Type:
System.Boolean
IN: Enable or disable the feature class
Return Value
Type: BooleanPrevious enable/disable state
