Click or drag to resize

IDisplayOverlaysIdentifyLinkedFeature Method

Identify any feature linked to a given McGraphObj instance.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Function IdentifyLinkedFeature ( 
	pimcgraphobjToGet As McGraphObj,
	<OutAttribute> ByRef ppunkIMcFeaturesLinked As Object
) As Integer

Parameters

pimcgraphobjToGet
Type: MediaCy.IQL.Display.OverlaysMcGraphObj
The McGraphObj instance to test for a linked feature.
ppunkIMcFeaturesLinked
Type: SystemObject

Return Value

Type: Int32
The Long Identifier of the linked feature, or -1 if not linked.
Remarks
If the McGraphObj instance argument (pimcgraphobjToGet) has a feature linked for display, the Identifier of that feature will be returned. If no feature is linked to the McGraphObj, then -1 is returned. The McFeatures-derived interface (McPoints, McLines or McRegions) associated with any identified linked feature will be returned via the ppunkMcFeaturesLinked argument. The McGraphObj instance argument can be linked to a feature associated with any McFeatures, not just this DisplayOverlays collection's Parent. That is, the McGraphObj instance does not have to be linked to one of "our" features. However, if a linked feature is one of "ours", then the object returned via the ppunkMcFeaturesLinked argument will be the same as our Parent property. To find the feature index associated with the returned Identifier use the McFeatures.SelectorFromID method. To find the McGraphObj instances that are linked to a particular feature, use the McFeatures.DisplayedObjects to get an IDisplayedObjects collection for the feature(s) of interest.
See Also