This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ESRI.ArcGIS.Snippets > Snippets > Change An In-Memory Link Schematic Feature Origin Node Snippet (ArcObjects .NET 10.4 SDK) |
Change the origin node of an in-memory schematic link
/// <summary> /// Change the origin node of an in-memory schematic link /// </summary> /// <param name="schemLink">The ISchematicInMemoryFeatureLink which origin node must be changed</param> /// <param name="newFromNode">The new ISchematicInMemoryFeatureNode origin node</param> /// <param name="newFromPort">The new origin port the schematic link must connect to</param> public void ChangeFromNode(ESRI.ArcGIS.Schematic.ISchematicInMemoryFeatureLink schemLink, ESRI.ArcGIS.Schematic.ISchematicInMemoryFeatureNode newFromNode, int newFromPort) { schemLink.FromNode=newFromNode; schemLink.FromPort=newFromPort; }
''' <summary> ''' Change the origin node of an in-memory schematic link ''' </summary> ''' <param name="schemLink">The ISchematicInMemoryFeatureLink which origin node must be changed</param> ''' <param name="NewFromNode">The new ISchematicInMemoryFeatureNode origin node</param> ''' <param name="NewFromPort">The new origin port the schematic link must connect to</param> Public Sub ChangeFromNode(ByVal schemLink As ESRI.ArcGIS.Schematic.ISchematicInMemoryFeatureLink, ByVal NewFromNode As ESRI.ArcGIS.Schematic.ISchematicInMemoryFeatureNode, ByVal NewFromPort As Integer) schemLink.FromNode=NewFromNode schemLink.FromPort=NewFromPort End Sub