ArcObjects Library Reference  (Schematic)    

INgElementType.GetEffect Method

Returns the effect 'effect' set for the element type (see esriNgElementTypeEffect).

[Visual Basic 6.0]
Function GetEffect(
    ByVal effect As esriNgElementTypeEffect _
) As Variant
[Visual Basic .NET]
Public Function GetEffect ( _
    ByVal effect As esriNgElementTypeEffect _
) As Object
[C#]
public object GetEffect (
    esriNgElementTypeEffect effect
);
[Java]
public Object getEffect (
    esriNgElementTypeEffect effect
)
throws
    IOException,
    AutomationException
[C++]
HRESULT GetEffect(
  esriNgElementTypeEffect effect,
  VARIANT* effValue
);
[C++]

Parameters

effect [in]

  effect is a parameter of type esriNgElementTypeEffect

effValue [out, retval]

  effValue is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

Description

If the IsElementGroup property returns False and the ElementGroup property is defined (that is if the element type is not a group but inherits from an ancestor element type group), calling the GetEffect method on the current element type will return the effects defined for this ElementGroup (that is, for this ancestor element type group).

See Also

INgElementType Interface | INgElementType.SetEffect Method | INgElementType.IsEffectSet Method | INgElementType.RemoveEffect Method

Example

INgElementType GetEffect, SetEffect, IsEffectSet, RemoveEffect methods - Examples

 


Feedback Send feedback on this page