This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IESRIShape2 Interface (ArcObjects .NET 10.5 SDK) |
Provides access to methods for non-byte swapping and angular densification export in addition to those in IESRIShape.
Description | ||
---|---|---|
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. | |
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. | |
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 | |
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. | |
ExportToESRIShape | Writes an Esri shapefile formatted version of this geometry to the specified buffer. Returns the exact number of bytes written to the buffer. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
QueryESRIShapeType | Returns the basic type and modifiers (combination of esriShapeModifiers) that define the geometry's shape type, as it was last exported. |
Interfaces | Description |
---|---|
IESRIShape | Provides access to members that Import/Export ArcObjects geometries to Esri shapefile format. |