SetValue

This method sets the value of a specified layer objects property. . You can set a constant value (e.g., set “LineColor” to “0xFF00FF”), or a classification XML.

Classification XML is used for persistence of a classification which is defined in the TerraExplorer Pro GUI. When a classification is defined using the Field By Attribute dialog box, you can use GetValue to retrieve an XML that defines this classification. See: “Feature Layers” chapter in the User Manual.

 

HRESULT SetValue(

[in] BSTR Name,

[in] PropertyValueType propValType,

[in] VARIANT Value)

Parameters:

Return Values:

The return value obtained from the returned HRESULT can be one of the following:

 

Return value

Meaning

S_OK

Success.

E_FAIL

Catastrophic failure.