ArcObjects Library Reference  (Schematic)    

INgElementType.GetSubSymbolEffect Method

Returns the effect 'effect' set for the sub-symbol named 'subName' that represents the element type.

[Visual Basic 6.0]
Function GetSubSymbolEffect(
    ByVal subName As String, _
    ByVal effect As esriNgSubSymbolEffect _
) As Variant
[Visual Basic .NET]
Public Function GetSubSymbolEffect ( _
    ByVal subName As String, _
    ByVal effect As esriNgSubSymbolEffect _
) As Object
[C#]
public object GetSubSymbolEffect (
    string subName,
    esriNgSubSymbolEffect effect
);
[Java]
public Object getSubSymbolEffect (
    String subName,
    esriNgSubSymbolEffect effect
)
throws
    IOException,
    AutomationException
[C++]
HRESULT GetSubSymbolEffect(
  BSTR subName,
  esriNgSubSymbolEffect effect,
  VARIANT* effValue
);
[C++]

Parameters

subName [in]

  subName is a parameter of type BSTR

effect [in]

  effect is a parameter of type esriNgSubSymbolEffect

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

Sub-symbols effects can be set:

- Either through ArcGIS Schematics Designer, when defining the graphic effects for the element type itself (when the element type is a group) or for one of its element type ancestors which is a group itself (when the element type is not a group),

- Or, by calling the INgElementType SetSubSymbolEffect method in the project code.

See Also

INgElementType Interface | INgElementType.IsSubSymbolEffectSet Method | INgElementType.RemoveSubSymbolEffect Method

Example

INgElementType sub-symbol effects methods - Example

 


Feedback Send feedback on this page