This method sets the mode of SetProperty, SetValue and DisplayAs to only affect the annotation properties. Any call to SetProperty and SetValue,following a SetAnnotation call, affects the annotation objects of the layer. The mode is set this way until another call to SetFeature or SetFeatureAndAnno is made.
HRESULT SetAnnotation()
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. |