This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IC > ICadastralFabric Interface > ICadastralFabric.ExtractCadastralPacket Method (ArcObjects .NET 10.5 SDK) |
Creates/Extracts a cadastral packet for the specified job.
[Visual Basic .NET] Public Function ExtractCadastralPacket ( _ ByVal JobName As String, _ ByVal OutputProjectedCoordSys As IProjectedCoordinateSystem, _ ByVal TrackCancel As ITrackCancel _ ) As IXMLStream
[C#] public IXMLStream ExtractCadastralPacket ( string JobName, IProjectedCoordinateSystem OutputProjectedCoordSys, ITrackCancel TrackCancel );
[C++]
HRESULT ExtractCadastralPacket(
BSTR JobName,
IProjectedCoordinateSystem* OutputProjectedCoordSys,
ITrackCancel* TrackCancel,
IXMLStream** XMLStream
);
[C++]
Parameters JobName [in] JobName is a parameter of type BSTR OutputProjectedCoordSys [in]
OutputProjectedCoordSys is a parameter of type IProjectedCoordinateSystem TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel XMLStream [out, retval]
XMLStream is a parameter of type IXMLStream
FDO_E_CADASTRAL_FABRIC_JOB_NOT_FOUND: a job with the given name is not present in the Cadastral Fabric dataset.
FDO_E_CADASTRAL_FABRIC_XML_PARSER_NOT_FOUND: the XML Parser is not loaded or is not installed.
Create/Extract a cadastral packet for the specified job. A cadastral packet is a set of data extracted from the Cadastral Fabric dataset that is used in-memory, and represents the editable Cadastral Job.
The ExtractCadastralPacket method creates a packet for the cadastral job that matches the JobName input. This packet is returned as an XMLStream. The XMLStream output can be passed to the cadastral editor via ICadastralExtension::ReadXMLPacket().
The XML stream contains all the parcels (and their associated fabric data) and control points that make up the job.