This document is archived and information here might be outdated.  Recommended version.


IGraph.TransformSet Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGraph.TransformSet Method

Repositions all specified NetworkFeatures and any topologically connected NetworkFeatures.

[Visual Basic .NET]
Public Sub TransformSet ( _
    ByVal features As ISet, _
    ByVal Type As esriTransformType, _
    ByVal tranformation As IAffineTransformation2D _
)
[C#]
public void TransformSet (
    ISet features,
    esriTransformType Type,
    IAffineTransformation2D tranformation
);
[C++]
HRESULT TransformSet(
  ISet* features,
  esriTransformType Type,
  IAffineTransformation2D* tranformation
);
[C++]

Parameters features [in]
features is a parameter of type ISet Type [in]
Type is a parameter of type esriTransformType tranformation [in]
tranformation is a parameter of type IAffineTransformation2D

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Errors Returned

If not performed in an edit session, TransformSet will return the error FDO_E_OBJECTCLASS_REQUIRES_AN_EDIT_SESSION.

Remarks

TransformSet will maintain connectivity between network features, there is no need to call Connect or RebuildConnectivity after TransformSet to establish connectivity.  The type of stretching that is employed during TransformSet can be changed using the VertexBasedStretching property.

See Also

IGraph Interface | IWorkspaceEdit Interface | IWorkspaceEditEvents Interface | ISpatialCacheManager Interface | IFeatureClass.CreateFeature Method | Editor Class