Interface IESRIShape2

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

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

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("C90EE28C-01AF-11D4-9F6C-00C04F6BDD7F")]
public interface IESRIShape2 : IESRIShape

Properties

ESRIShapeSize

int ESRIShapeSize { get; }

Property Value

int

ESRIShapeSizeEx[int]

int ESRIShapeSizeEx[int modifiersToAllow] { get; }

Parameters

modifiersToAllow int

Property Value

int

ESRIShapeSizeEx2[int]

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.

int ESRIShapeSizeEx2[int exportFlags] { get; }

Parameters

exportFlags int

Property Value

int

Remarks

Note: exportFlags is a combination of esriShapeExportFlags values.

Methods

AttachToESRIShape(ref int, ref byte)

void AttachToESRIShape(ref int byteCountInOut, ref byte byteBuffer)

Parameters

byteCountInOut int
byteBuffer byte

ExportToESRIShape(ref int, out byte)

void ExportToESRIShape(ref int byteCountInOut, out byte byteBuffer)

Parameters

byteCountInOut int
byteBuffer byte

ExportToESRIShapeEx(int, bool, ref int, out byte)

void ExportToESRIShapeEx(int modifiersToAllow, bool useArcViewNaNs, ref int byteCountInOut, out byte byteBuffer)

Parameters

modifiersToAllow int
useArcViewNaNs bool
byteCountInOut int
byteBuffer byte

ExportToESRIShapeEx2(int, ref int, out byte)

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.

void ExportToESRIShapeEx2(int exportFlags, ref int byteCountInOut, out byte byteBuffer)

Parameters

exportFlags int
byteCountInOut int
byteBuffer byte

Remarks

Note: exportFlags is a combination of esriShapeExportFlags values.

GetModifierOffset(esriShapeModifiers, out int)

void GetModifierOffset(esriShapeModifiers modifierType, out int Offset)

Parameters

modifierType esriShapeModifiers
Offset int

ImportFromESRIShape(ref int, ref byte)

void ImportFromESRIShape(ref int byteCountInOut, ref byte byteBuffer)

Parameters

byteCountInOut int
byteBuffer byte

ImportFromESRIShapeEx(int, ref int, ref byte)

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.

void ImportFromESRIShapeEx(int importFlags, ref int byteCountInOut, ref byte byteBuffer)

Parameters

importFlags int
byteCountInOut int
byteBuffer byte

NonTrustedImportFromESRIShape(ref int, ref byte)

void NonTrustedImportFromESRIShape(ref int byteCountInOut, ref byte byteBuffer)

Parameters

byteCountInOut int
byteBuffer byte

QueryESRIShapeType(ref esriShapeType, ref int)

void QueryESRIShapeType(ref esriShapeType basicShapeType, ref int shapeModifiers)

Parameters

basicShapeType esriShapeType
shapeModifiers int