ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Editing Namespace / RubbersheetByGeometries Class / RubbersheetByGeometries Constructor
Example

In This Topic
    RubbersheetByGeometries Constructor
    In This Topic
    Constructs a RubbersheetByGeometries object.
    Syntax
    public RubbersheetByGeometries()
    Public Function New()
    Example
    Edit Operation Rubbersheet Features
    //Perform rubbersheet by geometries
    var rubbersheetMethod = new RubbersheetByGeometries()
    {
      RubbersheetType = RubbersheetMethodType.Linear, //The RubbersheetType can be Linear of NearestNeighbor
      LinkLines = linkLines, //IEnumerable list of link lines (polylines)
      AnchorPoints = anchorPoints, //IEnumerable list of anchor points (map points)
      LimitedAdjustmentAreas = limitedAdjustmentAreas //IEnumerable list of limited adjustment areas (polygons)
    };
    
    var rubbersheetOp = new EditOperation();
    //Performs linear rubbersheet transformation on the features belonging to "layer" that fall within the limited adjustment areas
    rubbersheetOp.Rubbersheet(layer, rubbersheetMethod);
    //Execute the operation
    rubbersheetOp.Execute();
    
    //Alternatively, you can also perform rubbersheet by layer
    var rubbersheetMethod2 = new RubbersheetByLayers()
    {
      RubbersheetType = RubbersheetMethodType.NearestNeighbor, //The RubbersheetType can be Linear of NearestNeighbor
      LinkLayer = linkLayer,
      AnchorPointLayer = anchorPointsLayer,
      LimitedAdjustmentAreaLayer = limitedAdjustmentAreaLayer
    };
    
    //Performs nearest neighbor rubbersheet transformation on the features belonging to "layer" that fall within the limited adjustment areas
    rubbersheetOp.Rubbersheet(layer, rubbersheetMethod2);
    //Execute the operation
    rubbersheetOp.Execute();
    
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also