Interface IESRIShape2
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
ESRIShapeSizeEx[int]
int ESRIShapeSizeEx[int modifiersToAllow] { get; }
Parameters
modifiersToAllowint
Property Value
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
exportFlagsint
Property Value
Remarks
Note: exportFlags is a combination of esriShapeExportFlags values.
Methods
AttachToESRIShape(ref int, ref byte)
void AttachToESRIShape(ref int byteCountInOut, ref byte byteBuffer)
Parameters
ExportToESRIShape(ref int, out byte)
void ExportToESRIShape(ref int byteCountInOut, out byte byteBuffer)
Parameters
ExportToESRIShapeEx(int, bool, ref int, out byte)
void ExportToESRIShapeEx(int modifiersToAllow, bool useArcViewNaNs, ref int byteCountInOut, out byte byteBuffer)
Parameters
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
Remarks
Note: exportFlags is a combination of esriShapeExportFlags values.
GetModifierOffset(esriShapeModifiers, out int)
void GetModifierOffset(esriShapeModifiers modifierType, out int Offset)
Parameters
modifierTypeesriShapeModifiersOffsetint
ImportFromESRIShape(ref int, ref byte)
void ImportFromESRIShape(ref int byteCountInOut, ref byte byteBuffer)
Parameters
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
NonTrustedImportFromESRIShape(ref int, ref byte)
void NonTrustedImportFromESRIShape(ref int byteCountInOut, ref byte byteBuffer)
Parameters
QueryESRIShapeType(ref esriShapeType, ref int)
void QueryESRIShapeType(ref esriShapeType basicShapeType, ref int shapeModifiers)
Parameters
basicShapeTypeesriShapeTypeshapeModifiersint