ArcObjects Library Reference (Geometry)  

IESRIShape2 Interface

Provides access to methods for non-byte swapping and angular densification export in addition to those in IESRIShape.

Product Availability

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

Members

Description
Method AttachToESRIShape Takes ownership of the input ESRI shapefile format buffer. The geometry must be deleted, set to empty, edited, or imported from/attached to a different buffer before the buffer can be re-used.
Read-only property ESRIShapeSize The size of the buffer, in bytes, that will be required to hold the ESRI shapefile formatted version of the geometry. The value may exceed the minimum required size.
Read-only property ESRIShapeSizeEx The size of the buffer (in bytes) that will be required to hold the ESRI shapefile version of the geometry. Only attributes specified by modifiers to allow will be exported. The value may exceed the minimum required size. ModifiersToAllow is a combination of e
Read-only property ESRIShapeSizeEx2 The size of the buffer (in bytes) that will be required to hold the ESRI shapefile version of the geometry. The value may exceed the minimum required size. exportFlags is a combination of esriShapeExportFlags values.
Method ExportToESRIShape Writes an ESRI shapefile formatted version of this geometry to the specified buffer. Returns the exact number of bytes written to the buffer.
Method ExportToESRIShapeEx Writes an ESRI shapefile formatted version of this geometry to the specified buffer. Only exports attributes specified by modifiersToAllow (combination of esriShapeExportFlags values.). Returns the exact number of bytes written to the buffer.
Method ExportToESRIShapeEx2 Writes an ESRI shapefile formatted version of this geometry to the specified buffer. Returns the exact number of bytes written to the buffer. exportFlags is a combination of esriShapeExportFlags values.
Method GetModifierOffset Finds out the byte offsets within a shape buffer at which an exported attribute can be found. Only works if the shape hasn't changed since the last call to ExportToESRIShape or ExportToESRIShapeEx.
Method ImportFromESRIShape Defines this geometry from the input ESRI shapefile formatted buffer. Assumes the buffer describes a topologically correct geometry. Returns the exact number of bytes read from the buffer.
Method ImportFromESRIShapeEx Defines this geometry based upon the contents of the input ESRI shapefile formatted buffer. Returns the exact number of bytes read from the buffer. importFlags is a combination of esriShapeImportFlags values.
Method NonTrustedImportFromESRIShape Defines this geometry from the contents of the input ESRI shapefile formatted buffer. Does not assume that the buffer describes a topological correct geometry. Returns the exact number of bytes read from the buffer.
Method QueryESRIShapeType Returns the basic type and modifiers (combination of esriShapeModifiers) that define the geometry's shape type, as it was last exported.

Inherited Interfaces

Interfaces Description
IESRIShape Provides access to members that Import/Export ArcObjects geometries to ESRI shapefile format.