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


ILasFilter.Clone Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasFilter Interface > ILasFilter.Clone Method
ArcGIS Developer Help

ILasFilter.Clone Method

Make a clone.

[Visual Basic .NET]
Public Function Clone ( _
) As ILasFilter
[C#]
public ILasFilter Clone (
);
[C++]
HRESULT Clone(
void
);

Product Availability

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

Description

Performs a deep clone of the filter.

One common use of this method is to copy the filter from a LAS dataset layer, modify a property such as AreaOfInterest, and use the modified copy for some analysis operation while leaving the layer safely unchanged.

Be aware that a deep clone can be expensive if the AreaOfInterest property is set to a large, complex, polygon since that will get cloned as well. In this situation it may be better to save the polygon, set the AreaOfInterest property to NULL, call Clone, then reset the AreaOfInterest.

See Also

ILasFilter Interface