Skip to content

Flags used to control the behavior of IESRIShape2 import methods.

Constant Value Description
esriShapeImportDefaults 0 Uses default import behavior: performs byte swapping if the current platform is Big-Endian (Sun, Motorola, etc.), assumes the geometry being imported is simple, and does not attach to the import buffer.
esriShapeImportNoSwap 1 Assumes shapefile standard byte ordering, regardless of current platform architecture. The default is to perform byte swapping if the current platform architecture is Big-Endian.
esriShapeImportNonTrusted 2 Does not assume that the input shapefile buffer represents a topologically correct geometry.
esriShapeImportAttach 4 Attaches the geometry directly to the input shapefile 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, otherwise the buffer must be kept alive until geometry is destro
esriShapeImportRecalculateEnvelope 8 Causes the envelope of the imported shape to be recalculated.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.