DisplayAs

This method sets the symbol type that is used to represent the features in the layer. The valid object types depend on the layer features type. See: “Feature Layers” chapter in the User Manual.

 

HRESULT DisplayAs(

[in] ObjectTypeCode ObjectType)

Parameters:

ObjectType – An enum that determines the type of object that represents the layer. The following enumerations are defined for ObjectType:

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.