ArcObjects Library Reference (GeoDatabaseExtensions)  

ILasDataset.Export Method

Returns an implicit surface.

[Visual Basic .NET]
Public Sub Export ( _
    ByVal pTrackCancel As ITrackCancel, _
    ByVal FileIndex As Integer, _
    ByVal pFilter As ILasPointFilter, _
    ByVal newFileName As String, _
    ByVal pNewSpatialReference As ISpatialReference, _
    ByVal bProject As Boolean, _
    ByVal bDropVLRs As Boolean _
)
[C#]
public void Export (
    ITrackCancel pTrackCancel,
    int FileIndex,
    ILasPointFilter pFilter,
    string newFileName,
    ISpatialReference pNewSpatialReference,
    bool bProject,
    bool bDropVLRs
);
[C++]
HRESULT Export(
  ITrackCancel* pTrackCancel,
  long FileIndex,
  ILasPointFilter* pFilter,
  BSTR newFileName,
  ISpatialReference* pNewSpatialReference,
  VARIANT_BOOL bProject,
  VARIANT_BOOL bDropVLRs
);
[C++]

Parameters

pTrackCancel [in]

  pTrackCancel is a parameter of type ITrackCancel

FileIndex [in]   FileIndex is a parameter of type long pFilter [in]

  pFilter is a parameter of type ILasPointFilter

newFileName [in]   newFileName is a parameter of type BSTR pNewSpatialReference [in]

  pNewSpatialReference is a parameter of type ISpatialReference

bProject [in]   bProject is a parameter of type VARIANT_BOOL bDropVLRs [in]   bDropVLRs is a parameter of type VARIANT_BOOL

Product Availability

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

Description

Export allows you to create a new LAS file with a subset of points that match a desired criteria. This method can also be used to rectify geo referencing errors in LAS files.
pTrackCancel is a reference to a cancel tracker object that can be used to monitor progress and/or cancel the process. This can be set to a NULL pointer ('Nothing' in VB) if desired.
FileIndex is the input index of the LAS file.
pFilter is point filter that allows you to select the desired points. If set to NULL, all the points in the input LAS file will be written to the output file.
newFileName is the name of the output LAS file.
pNewSpatialReference is the new spatial reference object.
bProject indicates whether the input point records are to be projected to the new spatial reference.
bDropVLRs indicates if the variable length records are written to the output las file or whether they are to be ignored.

See Also

ILasDataset Interface